com php-src: Fix accidentially dropped type: ext/opcache/Optimi zer/zend_func_info.c
| From: | Nikita Popov | Date: | Thu, 06 Jun 2019 08:07:59 +0000 |
| Subject: | com php-src: Fix accidentially dropped type: ext/opcache/Optimi zer/zend_func_info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106585@lists.php.net to get a copy of this message | ||
Commit: 8b2741c1c393549817a684c25c2851be59a7a0ee
Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 6 Jun 2019 10:07:59 +0200
Parents: ac8c4a485396f3f3c95ae19db2ad10aa82917483
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8b2741c1c393549817a684c25c2851be59a7a0ee
Log:
Fix accidentially dropped type
I only meant to drop the MAY_BE_FALSE here, not the MAY_BE_ARRAY...
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 7fa542a..a7c4766 100644
--- a/ext/opcache/Optimizer/zend_func_info.c
+++ b/ext/opcache/Optimizer/zend_func_info.c
@@ -110,7 +110,7 @@ static const func_info_t func_infos[] = {
F0("is_subclass_of", MAY_BE_FALSE | MAY_BE_TRUE), // TODO: inline
F0("is_a", MAY_BE_FALSE | MAY_BE_TRUE), // TODO: inline
F1("get_class_vars", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING |
MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF),
- FN("get_object_vars", MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY |
MAY_BE_ARRAY_OF_REF),
+ FN("get_object_vars", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY
| MAY_BE_ARRAY_OF_REF),
F1("get_class_methods", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY |
MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_STRING),
F0("method_exists", MAY_BE_FALSE | MAY_BE_TRUE),
F0("property_exists", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),