]> granicus.if.org Git - php/commitdiff
Fix accidentially dropped type
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 6 Jun 2019 08:07:59 +0000 (10:07 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 6 Jun 2019 08:07:59 +0000 (10:07 +0200)
I only meant to drop the MAY_BE_FALSE here, not the MAY_BE_ARRAY...

ext/opcache/Optimizer/zend_func_info.c

index 7fa542a3c81131031d558733b620305a4159058d..a7c47661adda37d530309b95e8cf5e75e29d8654 100644 (file)
@@ -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),