Skip to content

Commit 4a5bda6

Browse files
committed
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: getdate() may return array_key_long
2 parents 98a071e + c7387ab commit 4a5bda6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_func_info.c

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

0 commit comments

Comments
 (0)