Skip to content

Commit 3ddab31

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: getdate() may return array_key_long
2 parents cb1d113 + 4a5bda6 commit 3ddab31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/Optimizer/zend_func_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ static const func_info_t func_infos[] = {
417417
F1("strftime", MAY_BE_FALSE | MAY_BE_STRING),
418418
F1("gmstrftime", MAY_BE_FALSE | MAY_BE_STRING),
419419
F1("localtime", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG),
420-
F1("getdate", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING),
420+
F1("getdate", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_LONG | MAY_BE_ARRAY_OF_STRING),
421421
F1("date_create", MAY_BE_FALSE | MAY_BE_OBJECT),
422422
F1("date_create_immutable", MAY_BE_FALSE | MAY_BE_OBJECT),
423423
F1("date_create_from_format", MAY_BE_FALSE | MAY_BE_OBJECT),

0 commit comments

Comments
 (0)