From: Nikita Popov Date: Sat, 17 Feb 2018 21:43:25 +0000 (+0100) Subject: Fix error_get_last() func info X-Git-Tag: php-7.3.0alpha1~376 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c4783cbd345f1a7ef318442a902a3340619fe39;p=php Fix error_get_last() func info --- diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index 318e2c394e..2032f597db 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -526,7 +526,7 @@ static const func_info_t func_infos[] = { I0("get_magic_quotes_gpc", MAY_BE_FALSE), I0("get_magic_quotes_runtime", MAY_BE_FALSE), F0("error_log", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - I1("error_get_last", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING), + I1("error_get_last", MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING), FN("call_user_func", UNKNOWN_INFO), FN("call_user_func_array", UNKNOWN_INFO), FN("call_user_method", UNKNOWN_INFO),