From: Tyson Andre Date: Sat, 15 Jun 2019 21:20:34 +0000 (-0400) Subject: Make opcache zend_func_info consistent with Reflection for ctype X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74589cf6768e5f79f77c123c31e1f119f74a2f44;p=php Make opcache zend_func_info consistent with Reflection for ctype This follows up with php 8.0 adding a real return type (non-null bool) in 1409a3b1535e221d8449416d77ed45175f3335d2 --- diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index 94dbf74dd0..684831b320 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -1318,17 +1318,17 @@ static const func_info_t func_infos[] = { #endif /* ext/ctype */ - F0("ctype_alnum", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_alpha", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_cntrl", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_digit", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_lower", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_graph", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_print", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_punct", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_space", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_upper", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), - F0("ctype_xdigit", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_alnum", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_alpha", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_cntrl", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_digit", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_lower", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_graph", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_print", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_punct", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_space", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_upper", MAY_BE_FALSE | MAY_BE_TRUE), + F0("ctype_xdigit", MAY_BE_FALSE | MAY_BE_TRUE), /* ext/fileinfo */ F1("finfo_open", MAY_BE_FALSE | MAY_BE_RESOURCE),