From: Dmitry Stogov Date: Mon, 31 Oct 2016 21:18:12 +0000 (+0300) Subject: Fixed reference-counter inference X-Git-Tag: php-7.1.0RC6~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e88adddfd1f494ba1069a382169ecca40f0e9b73;p=php Fixed reference-counter inference --- diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index d9e3d5ee4f..0c5c70b1aa 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -344,7 +344,7 @@ static const func_info_t func_infos[] = { F1("ucfirst", MAY_BE_NULL | MAY_BE_STRING), F1("lcfirst", MAY_BE_NULL | MAY_BE_STRING), F1("ucwords", MAY_BE_NULL | MAY_BE_STRING), - F1("strtr", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), + FN("strtr", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), FN("addslashes", MAY_BE_NULL | MAY_BE_STRING), F1("addcslashes", MAY_BE_NULL | MAY_BE_STRING), FN("rtrim", MAY_BE_NULL | MAY_BE_STRING),