From c5f87eee5d039af904eddc38684b7a594d758daa Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 27 Apr 2020 15:39:08 +0200 Subject: [PATCH] Mark passthru() as RC0 This function only returns null/false, RC1 does not make sense. --- ext/opcache/Optimizer/zend_func_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.50.1