]> granicus.if.org Git - php/commitdiff
Fix curl_multi_close() func info
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 17 Feb 2018 21:50:17 +0000 (22:50 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 17 Feb 2018 22:18:29 +0000 (23:18 +0100)
Returns false on failure

ext/opcache/Optimizer/zend_func_info.c

index ffc1224ce48e8b4a6a51f2da14767a2d5c02950c..58bf1f56c838bdc8897be2abd66bc428be672026 100644 (file)
@@ -1032,7 +1032,7 @@ static const func_info_t func_infos[] = {
        F0("curl_multi_exec",                       MAY_BE_NULL | MAY_BE_LONG),
        FN("curl_multi_getcontent",                 MAY_BE_NULL | MAY_BE_STRING),
        F1("curl_multi_info_read",                  MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_RESOURCE),
-       F0("curl_multi_close",                      MAY_BE_NULL),
+       F0("curl_multi_close",                      MAY_BE_NULL | MAY_BE_FALSE),
        F0("curl_multi_setopt",                     MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
        F1("curl_share_init",                       MAY_BE_NULL | MAY_BE_RESOURCE),
        F0("curl_share_close",                      MAY_BE_NULL),