From: Nikita Popov Date: Sat, 17 Feb 2018 22:07:07 +0000 (+0100) Subject: Fix lcfirst() + ucfirst() func info X-Git-Tag: php-7.3.0alpha1~374 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b889ff309b5e35974ce32a1d34c4064cd0376bb3;p=php Fix lcfirst() + ucfirst() func info These may return the original string --- diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index b93ec1eb8c..4b1b676ed8 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -348,8 +348,8 @@ static const func_info_t func_infos[] = { FN("substr", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), FN("substr_replace", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_STRING), F1("quotemeta", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), - F1("ucfirst", MAY_BE_NULL | MAY_BE_STRING), - F1("lcfirst", MAY_BE_NULL | MAY_BE_STRING), + FN("ucfirst", MAY_BE_NULL | MAY_BE_STRING), + FN("lcfirst", MAY_BE_NULL | MAY_BE_STRING), F1("ucwords", MAY_BE_NULL | MAY_BE_STRING), FN("strtr", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), FN("addslashes", MAY_BE_NULL | MAY_BE_STRING),