com php-src: Fixed reference-counter inference: ext/opcache/Opt imizer/zend_func_info.c
| From: | Dmitry Stogov | Date: | Mon, 31 Oct 2016 21:18:12 +0000 |
| Subject: | com php-src: Fixed reference-counter inference: ext/opcache/Opt imizer/zend_func_info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95372@lists.php.net to get a copy of this message | ||
Commit: e88adddfd1f494ba1069a382169ecca40f0e9b73
Author: Dmitry Stogov <dmitry@zend.com> Tue, 1 Nov 2016 00:18:12 +0300
Parents: d3325ff771c85e1741eecf37d86aef2e50ee4fd8
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e88adddfd1f494ba1069a382169ecca40f0e9b73
Log:
Fixed reference-counter inference
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 d9e3d5e..0c5c70b 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),