Skip to content

Commit e4ecadc

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
2 parents a26f632 + 1e82a2d commit e4ecadc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ static const func_info_t func_infos[] = {
274274
F0("sleep", MAY_BE_FALSE | MAY_BE_LONG),
275275
F0("usleep", MAY_BE_NULL | MAY_BE_FALSE),
276276
#if HAVE_NANOSLEEP
277-
F0("time_nanosleep", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
277+
F0("time_nanosleep", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE_ARRAY_OF_LONG),
278278
F0("time_sleep_until", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE),
279279
#endif
280280
#if HAVE_STRPTIME
@@ -401,7 +401,7 @@ static const func_info_t func_infos[] = {
401401
F1("system", MAY_BE_FALSE | MAY_BE_STRING),
402402
F1("escapeshellcmd", MAY_BE_NULL | MAY_BE_STRING),
403403
F1("escapeshellarg", MAY_BE_NULL | MAY_BE_STRING),
404-
F1("passthru", MAY_BE_FALSE | MAY_BE_STRING),
404+
F1("passthru", MAY_BE_NULL | MAY_BE_FALSE),
405405
F1("shell_exec", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
406406
#ifdef PHP_CAN_SUPPORT_PROC_OPEN
407407
F1("proc_open", MAY_BE_FALSE | MAY_BE_RESOURCE),

0 commit comments

Comments
 (0)