[php-src] PHP-7.4: password_get_info() may return array_of_null

From: Date: Wed, 28 Apr 2021 08:56:00 +0000
Subject: [php-src] PHP-7.4: password_get_info() may return array_of_null
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115917@lists.php.net to get a copy of this message
Author: Nikita Popov (nikic) Date: 2021-04-28T10:54:31+02:00 Commit: https://github.com/php/php-src/commit/c340f97ab0d735a646aafea1f7623ec9b4511e33 Raw diff: https://github.com/php/php-src/commit/c340f97ab0d735a646aafea1f7623ec9b4511e33.diff password_get_info() may return array_of_null The algo key is set to null if the algorithm can't be detected. Changed paths: M ext/opcache/Optimizer/zend_func_info.c Diff: diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index 7daeab73f562..2ff9af697bdf 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -439,7 +439,7 @@ static const func_info_t func_infos[] = { F1("base64_decode", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), F1("base64_encode", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), F1("password_hash", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), - 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), + 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), F0("password_needs_rehash", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), F0("password_verify", MAY_BE_FALSE | MAY_BE_TRUE), F1("convert_uuencode", MAY_BE_FALSE | MAY_BE_STRING),

« previous php.cvs (#115917) next »