[php-src] master: Remove incorrect func info for array_reduce() and pos()

From: Date: Wed, 28 Apr 2021 09:42:00 +0000
Subject: [php-src] master: Remove incorrect func info for array_reduce() and pos()
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115928@lists.php.net to get a copy of this message
Author: Nikita Popov (nikic) Date: 2021-04-28T11:41:21+02:00 Commit: https://github.com/php/php-src/commit/2ceef24f4a88091ab084268dca4599ca5f7f9072 Raw diff: https://github.com/php/php-src/commit/2ceef24f4a88091ab084268dca4599ca5f7f9072.diff Remove incorrect func info for array_reduce() and pos() These are both clearly not rc1 functions. As they are otherwise UNKNOWN_INFO, I'm just dropping them entirely. 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 60a7c8517acc..39b7a42cc4fb 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -382,7 +382,6 @@ static const func_info_t func_infos[] = { F1("array_count_values", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG), F1("array_column", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY), F1("array_reverse", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY), - F1("array_reduce", UNKNOWN_INFO), F1("array_flip", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING), F1("array_change_key_case", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY), FN("array_rand", MAY_BE_LONG | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING), @@ -404,7 +403,6 @@ static const func_info_t func_infos[] = { F1("array_filter", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY), F1("array_chunk", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY), F1("array_combine", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY), - F1("pos", UNKNOWN_INFO), F1("str_rot13", MAY_BE_STRING), F1("stream_get_filters", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING), F1("stream_bucket_make_writeable", MAY_BE_NULL | MAY_BE_OBJECT),

« previous php.cvs (#115928) next »