[php-src] PHP-7.4: filter_var_array() may return array_of_ref

From: Date: Wed, 28 Apr 2021 09:28:08 +0000
Subject: [php-src] PHP-7.4: filter_var_array() may return array_of_ref
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115925@lists.php.net to get a copy of this message
Author: Nikita Popov (nikic) Date: 2021-04-28T11:27:14+02:00 Commit: https://github.com/php/php-src/commit/5acab7ebb4b75916a45cf75b29ef34dcf466ba50 Raw diff: https://github.com/php/php-src/commit/5acab7ebb4b75916a45cf75b29ef34dcf466ba50.diff filter_var_array() may return array_of_ref This function preserves references in the input array. 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 d1c721a259e3..13262e2bf63d 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -1445,7 +1445,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), I1("filter_list", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING), F0("filter_id", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG),

« previous php.cvs (#115925) next »