com php-src: Revert accidental changes: ext/opcache/Optimizer/z end_func_info.c
| From: | Nikita Popov | Date: | Tue, 28 May 2019 11:14:58 +0000 |
| Subject: | com php-src: Revert accidental changes: ext/opcache/Optimizer/z end_func_info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106392@lists.php.net to get a copy of this message | ||
Commit: 7791784bc9229433f03b0529a61c8e843a30c8ea
Author: Nikita Popov <nikita.ppv@gmail.com> Tue, 28 May 2019 13:14:58 +0200
Parents: 4da316d18991ff4dbe0a7315045f7928d66a4381
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7791784bc9229433f03b0529a61c8e843a30c8ea
Log:
Revert accidental changes
These MAY_BE_FALSE should not have been dropped...
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 ae33da0..eee98b3 100644
--- a/ext/opcache/Optimizer/zend_func_info.c
+++ b/ext/opcache/Optimizer/zend_func_info.c
@@ -209,7 +209,7 @@ static const func_info_t func_infos[] = {
F0("strcoll", MAY_BE_LONG),
#endif
#ifdef HAVE_STRFMON
- F1("money_format", MAY_BE_STRING),
+ F1("money_format", MAY_BE_FALSE | MAY_BE_STRING),
#endif
FN("substr", MAY_BE_FALSE | MAY_BE_STRING),
FN("substr_replace", MAY_BE_FALSE | MAY_BE_STRING | MAY_BE_ARRAY |
MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_STRING),
@@ -246,7 +246,7 @@ static const func_info_t func_infos[] = {
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),
F1("chop", MAY_BE_NULL | MAY_BE_STRING),
- F1("strchr", 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),
F0("vprintf", MAY_BE_FALSE | MAY_BE_LONG),