From: Nikita Popov Date: Mon, 27 Apr 2020 13:39:08 +0000 (+0200) Subject: Mark passthru() as RC0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5f87eee5d039af904eddc38684b7a594d758daa;p=php Mark passthru() as RC0 This function only returns null/false, RC1 does not make sense. --- diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index 6654ce42d8..d63a773b40 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -195,7 +195,7 @@ static const func_info_t func_infos[] = { F1("system", MAY_BE_FALSE | MAY_BE_STRING), F1("escapeshellcmd", MAY_BE_STRING), F1("escapeshellarg", MAY_BE_STRING), - F1("passthru", MAY_BE_NULL | MAY_BE_FALSE), + F0("passthru", MAY_BE_NULL | MAY_BE_FALSE), F1("shell_exec", MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_STRING), #ifdef PHP_CAN_SUPPORT_PROC_OPEN F1("proc_open", MAY_BE_FALSE | MAY_BE_RESOURCE),