]> granicus.if.org Git - php/commitdiff
Fixed reference-counter inference
authorDmitry Stogov <dmitry@zend.com>
Tue, 1 Nov 2016 16:04:10 +0000 (19:04 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 1 Nov 2016 16:04:10 +0000 (19:04 +0300)
ext/opcache/Optimizer/zend_func_info.c

index 0c5c70b1aa3f98e2c08ff60a6f4c3c1823eb8af1..b7c05473a9996df140e29ac036c4792788ea891f 100644 (file)
@@ -820,7 +820,7 @@ static const func_info_t func_infos[] = {
        F1("array_column",                 MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY),
        F1("array_reverse",                MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY),
        F1("array_reduce",                 UNKNOWN_INFO),
-       F1("array_pad",                    MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY),
+       FN("array_pad",                    MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY),
        F1("array_flip",                   MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING),
        F1("array_change_key_case",        MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY),
        F1("array_rand",                   UNKNOWN_INFO),