From bb41a1b7e70f42351b73c12b16947301c4db9cfc Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 15 Nov 2019 12:37:24 +0100 Subject: [PATCH] Fix str_pad rc info This fixes at least part of bug #78811. --- ext/opcache/Optimizer/zend_func_info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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), -- 2.50.1