Skip to content

Commit c5f87ee

Browse files
committed
Mark passthru() as RC0
This function only returns null/false, RC1 does not make sense.
1 parent 58eafbe commit c5f87ee

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
@@ -195,7 +195,7 @@ static const func_info_t func_infos[] = {
195195
F1("system", MAY_BE_FALSE | MAY_BE_STRING),
196196
F1("escapeshellcmd", MAY_BE_STRING),
197197
F1("escapeshellarg", MAY_BE_STRING),
198-
F1("passthru", MAY_BE_NULL | MAY_BE_FALSE),
198+
F0("passthru", MAY_BE_NULL | MAY_BE_FALSE),
199199
F1("shell_exec", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING),
200200
#ifdef PHP_CAN_SUPPORT_PROC_OPEN
201201
F1("proc_open", MAY_BE_FALSE | MAY_BE_RESOURCE),

0 commit comments

Comments
 (0)