[php-src] master: Merge branch 'PHP-8.0'
| From: | Nikita Popov | Date: | Wed, 28 Apr 2021 09:28:09 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.0' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-115927@lists.php.net to get a copy of this message | ||
Author: Nikita Popov (nikic)
Date: 2021-04-28T11:28:06+02:00
Commit: https://github.com/php/php-src/commit/08afe9891c6427cabd48612e6e6f715b1d23eb08
Raw diff: https://github.com/php/php-src/commit/08afe9891c6427cabd48612e6e6f715b1d23eb08.diff
Merge branch 'PHP-8.0'
* PHP-8.0:
filter_var_array() may return array_of_ref
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 f6edd3b692de..c87ffb1a41a5 100644
--- a/Zend/Optimizer/zend_func_info.c
+++ b/Zend/Optimizer/zend_func_info.c
@@ -749,7 +749,7 @@ static const func_info_t func_infos[] = {
FN("filter_input", UNKNOWN_INFO),
FN("filter_var", UNKNOWN_INFO),
F1("filter_input_array", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY |
MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY),
- F1("filter_var_array", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY |
MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY),
+ F1("filter_var_array", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY |
MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF),
F1("filter_list", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
/* ext/gettext */