com php-src: Also fix signature for passthru: ext/opcache/Optim izer/zend_func_info.c

From: Date: Mon, 26 Aug 2019 09:13:26 +0000
Subject: com php-src: Also fix signature for passthru: ext/opcache/Optim izer/zend_func_info.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-108050@lists.php.net to get a copy of this message
Commit: 1e82a2d659aac6ef95a6820d4f6ac3684e07bcad Author: Tyson Andre <tysonandre775@hotmail.com> Sun, 25 Aug 2019 11:02:28 -0400 Committer: Nikita Popov <nikita.ppv@gmail.com> Mon, 26 Aug 2019 11:13:26 +0200 Parents: f5bccc0eb5bfe2b1c9ba55cf1df27f2a18a046fa Branches: PHP-7.2 PHP-7.3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1e82a2d659aac6ef95a6820d4f6ac3684e07bcad Log: Also fix signature for passthru Backported from a1a8d144854acb1c891cf0c21abb0f612b1d8de7 https://www.php.net/manual/en/function.passthru.php#refsect1-function.passthru-returnvalues passthru() is false with invalid args passthru('command') is null. Changed paths: M ext/opcache/Optimizer/zend_func_info.c Diff: diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c index 7f08104..7395540 100644 --- a/ext/opcache/Optimizer/zend_func_info.c +++ b/ext/opcache/Optimizer/zend_func_info.c @@ -404,7 +404,7 @@ static const func_info_t func_infos[] = { F1("system", MAY_BE_FALSE | MAY_BE_STRING), F1("escapeshellcmd", MAY_BE_NULL | MAY_BE_STRING), F1("escapeshellarg", MAY_BE_NULL | MAY_BE_STRING), - F1("passthru", MAY_BE_FALSE | MAY_BE_STRING), + F1("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),

« previous php.cvs (#108050) next »