com php-src: Fix str_pad rc info: ext/opcache/Optimiz er/zend_func_info.c

From: Date: Fri, 15 Nov 2019 11:37:24 +0000
Subject: com php-src: Fix str_pad rc info: ext/opcache/Optimiz er/zend_func_info.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109260@lists.php.net to get a copy of this message
Commit: bb41a1b7e70f42351b73c12b16947301c4db9cfc Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 15 Nov 2019 12:37:24 +0100 Parents: 716fdacdd126c9fa2ff0ef8d381e89ae7c043968 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bb41a1b7e70f42351b73c12b16947301c4db9cfc Log: Fix str_pad rc info This fixes at least part of bug #78811. Bugs: https://bugs.php.net/78811 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 1aa590c389b..7bec6593bab 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -201,7 +201,7 @@ static const func_info_t func_infos[] = { FN("trim", MAY_BE_STRING), FN("ltrim", MAY_BE_STRING), F1("strip_tags", MAY_BE_STRING), - F1("explode", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING), + F1("explode", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING), FN("implode", MAY_BE_STRING), FN("join", MAY_BE_STRING), FN("setlocale", MAY_BE_FALSE | MAY_BE_STRING), @@ -213,7 +213,7 @@ static const func_info_t func_infos[] = { F0("levenshtein", MAY_BE_LONG), F1("chr", MAY_BE_STRING), F1("str_getcsv", MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_NULL | MAY_BE_ARRAY_OF_STRING), - F1("str_pad", MAY_BE_NULL | MAY_BE_STRING), + FN("str_pad", MAY_BE_NULL | MAY_BE_STRING), F1("strchr", MAY_BE_FALSE | MAY_BE_STRING), F1("sprintf", MAY_BE_FALSE | MAY_BE_STRING), F0("printf", MAY_BE_FALSE | MAY_BE_LONG),

« previous php.cvs (#109260) next »