From: Nikita Popov Date: Fri, 15 Nov 2019 11:37:24 +0000 (+0100) Subject: Fix str_pad rc info X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb41a1b7e70f42351b73c12b16947301c4db9cfc;p=php Fix str_pad rc info This fixes at least part of bug #78811. --- diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index 1aa590c389..7bec6593ba 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),