Skip to content

Commit c340f97

Browse files
committed
password_get_info() may return array_of_null
The algo key is set to null if the algorithm can't be detected.
1 parent c7387ab commit c340f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ static const func_info_t func_infos[] = {
439439
F1("base64_decode", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
440440
F1("base64_encode", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
441441
F1("password_hash", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
442-
F1("password_get_info", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY),
442+
F1("password_get_info", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING | MAY_BE_ARRAY_OF_ARRAY),
443443
F0("password_needs_rehash", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
444444
F0("password_verify", MAY_BE_FALSE | MAY_BE_TRUE),
445445
F1("convert_uuencode", MAY_BE_FALSE | MAY_BE_STRING),

0 commit comments

Comments
 (0)