[php-src] master: Merge branch 'PHP-8.0'
| From: | Nikita Popov | Date: | Wed, 28 Apr 2021 08:56:02 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.0' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115919@lists.php.net to get a copy of this message | ||
Author: Nikita Popov (nikic)
Date: 2021-04-28T10:55:57+02:00
Commit: https://github.com/php/php-src/commit/bd5419abd65e41640757901e16286a9fccc46c21
Raw diff: https://github.com/php/php-src/commit/bd5419abd65e41640757901e16286a9fccc46c21.diff
Merge branch 'PHP-8.0'
* PHP-8.0:
password_get_info() may return array_of_null
Changed paths:
M Zend/Optimizer/zend_func_info.c
Diff:
diff --git a/Zend/Optimizer/zend_func_info.c b/Zend/Optimizer/zend_func_info.c
index 9fc5110b36b8..8b21f0c7c1fe 100644
--- a/Zend/Optimizer/zend_func_info.c
+++ b/Zend/Optimizer/zend_func_info.c
@@ -211,7 +211,7 @@ static const func_info_t func_infos[] = {
F1("base64_decode", MAY_BE_FALSE | MAY_BE_STRING),
F1("base64_encode", MAY_BE_STRING),
F1("password_hash", MAY_BE_STRING),
- F1("password_get_info", 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_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),
F1("convert_uuencode", MAY_BE_STRING),
F1("convert_uudecode", MAY_BE_FALSE | MAY_BE_STRING),
F1("pow", MAY_BE_LONG | MAY_BE_DOUBLE | MAY_BE_OBJECT),