Skip to content

Commit 74589cf

Browse files
TysonAndrecmb69
authored andcommitted
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 1409a3b
1 parent 4353841 commit 74589cf

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,17 +1318,17 @@ static const func_info_t func_infos[] = {
13181318
#endif
13191319

13201320
/* ext/ctype */
1321-
F0("ctype_alnum", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1322-
F0("ctype_alpha", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1323-
F0("ctype_cntrl", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1324-
F0("ctype_digit", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1325-
F0("ctype_lower", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1326-
F0("ctype_graph", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1327-
F0("ctype_print", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1328-
F0("ctype_punct", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1329-
F0("ctype_space", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1330-
F0("ctype_upper", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1331-
F0("ctype_xdigit", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
1321+
F0("ctype_alnum", MAY_BE_FALSE | MAY_BE_TRUE),
1322+
F0("ctype_alpha", MAY_BE_FALSE | MAY_BE_TRUE),
1323+
F0("ctype_cntrl", MAY_BE_FALSE | MAY_BE_TRUE),
1324+
F0("ctype_digit", MAY_BE_FALSE | MAY_BE_TRUE),
1325+
F0("ctype_lower", MAY_BE_FALSE | MAY_BE_TRUE),
1326+
F0("ctype_graph", MAY_BE_FALSE | MAY_BE_TRUE),
1327+
F0("ctype_print", MAY_BE_FALSE | MAY_BE_TRUE),
1328+
F0("ctype_punct", MAY_BE_FALSE | MAY_BE_TRUE),
1329+
F0("ctype_space", MAY_BE_FALSE | MAY_BE_TRUE),
1330+
F0("ctype_upper", MAY_BE_FALSE | MAY_BE_TRUE),
1331+
F0("ctype_xdigit", MAY_BE_FALSE | MAY_BE_TRUE),
13321332

13331333
/* ext/fileinfo */
13341334
F1("finfo_open", MAY_BE_FALSE | MAY_BE_RESOURCE),

0 commit comments

Comments
 (0)