]> granicus.if.org Git - php/commitdiff
Fixed pg_select() function info
authorDmitry Stogov <dmitry@zend.com>
Tue, 21 Jul 2020 06:58:36 +0000 (09:58 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 21 Jul 2020 06:58:36 +0000 (09:58 +0300)
ext/opcache/Optimizer/zend_func_info.c

index a6517527633cc2537e1e4619019b034d4ea8df13..aee3cd9c6c2a6a72d5062c670727e019ea909b36 100644 (file)
@@ -781,7 +781,7 @@ static const func_info_t func_infos[] = {
        F1("pg_insert",                                                         MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_RESOURCE | MAY_BE_STRING),
        F1("pg_update",                                                         MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
        F1("pg_delete",                                                         MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
-       F1("pg_select",                                                         MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING),
+       F1("pg_select",                                                         MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_STRING | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG | MAY_BE_ARRAY_OF_ARRAY),
 
        /* ext/bcmath */
        F1("bcadd",                                                                     MAY_BE_STRING),