Skip to content

Commit d4a7d17

Browse files
committed
Merge branch 'PHP-7.4'
2 parents d440a3c + 4de8503 commit d4a7d17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ static const func_info_t func_infos[] = {
283283
F0("proc_nice", MAY_BE_FALSE | MAY_BE_TRUE),
284284
#endif
285285
F0("rand", MAY_BE_NULL | MAY_BE_LONG),
286+
F1("random_bytes", MAY_BE_STRING),
286287
F0("srand", MAY_BE_NULL),
287288
F0("getrandmax", MAY_BE_NULL | MAY_BE_LONG),
288289
F0("mt_rand", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_LONG),
@@ -720,6 +721,8 @@ static const func_info_t func_infos[] = {
720721
F1("array_chunk", MAY_BE_NULL | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY),
721722
F1("array_combine", MAY_BE_FALSE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_REF | MAY_BE_ARRAY_OF_ANY),
722723
F0("array_key_exists", MAY_BE_FALSE | MAY_BE_TRUE),
724+
FN("array_key_first", MAY_BE_NULL | MAY_BE_LONG | MAY_BE_STRING),
725+
FN("array_key_last", MAY_BE_NULL | MAY_BE_LONG | MAY_BE_STRING),
723726
F1("pos", UNKNOWN_INFO),
724727
F0("sizeof", MAY_BE_LONG),
725728
F0("key_exists", MAY_BE_FALSE | MAY_BE_TRUE),

0 commit comments

Comments
 (0)