[php-src] PHP-8.5: fix test when tmp-php.ini is used

From: Date: Thu, 12 Nov 2026 09:59:13 +0000
Subject: [php-src] PHP-8.5: fix test when tmp-php.ini is used
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143623@lists.php.net to get a copy of this message
Author: Remi Collet (remicollet) Date: 2026-11-12T10:58:07+01:00 Commit: https://github.com/php/php-src/commit/6521c11d99155ce05d801eed96e6655888f9c26a Raw diff: https://github.com/php/php-src/commit/6521c11d99155ce05d801eed96e6655888f9c26a.diff fix test when tmp-php.ini is used Changed paths: M ext/standard/tests/ini_info/php_ini_loaded_file.phpt Diff: diff --git a/ext/standard/tests/ini_info/php_ini_loaded_file.phpt b/ext/standard/tests/ini_info/php_ini_loaded_file.phpt index 4e3085ba8653..13217f028e02 100644 --- a/ext/standard/tests/ini_info/php_ini_loaded_file.phpt +++ b/ext/standard/tests/ini_info/php_ini_loaded_file.phpt @@ -7,8 +7,8 @@ php_ini_loaded_file() function $args = getenv('TEST_PHP_EXTRA_ARGS'); $code = '"var_dump(php_ini_loaded_file());"'; - // No ini file - passthru("$php $args -n -r $code"); + // No ini file ($args mays contains some) + passthru("$php -n -r $code"); // Specified ini file passthru("$php $args -c $inifile -r $code");

« previous php.cvs (#143623) next »