[php-src] master: Merge branch 'PHP-8.6'

From: Date: Thu, 15 Oct 2026 10:42:04 +0000
Subject: [php-src] master: Merge branch 'PHP-8.6'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-142311@lists.php.net to get a copy of this message
Author: Shivam Mathur (shivammathur) Date: 2026-10-15T15:49:40+05:30 Commit: https://github.com/php/php-src/commit/1cc5591b482e3ec603403f222a442e1bfcd77ff1 Raw diff: https://github.com/php/php-src/commit/1cc5591b482e3ec603403f222a442e1bfcd77ff1.diff Merge branch 'PHP-8.6' * PHP-8.6: Fix Windows quoting in proc_open tests (#24343) Changed paths: M ext/standard/tests/general_functions/proc_open_null.phpt M ext/standard/tests/general_functions/proc_open_redirect.phpt Diff: diff --git a/ext/standard/tests/general_functions/proc_open_null.phpt b/ext/standard/tests/general_functions/proc_open_null.phpt index f5ea603f04b8..000297204969 100644 --- a/ext/standard/tests/general_functions/proc_open_null.phpt +++ b/ext/standard/tests/general_functions/proc_open_null.phpt @@ -5,7 +5,7 @@ Null pipes in proc_open() $php = getenv('TEST_PHP_EXECUTABLE'); $args = getenv('TEST_PHP_EXTRA_ARGS'); -$cmd = "$php $args -r 'echo \"Test\"; fprintf(STDERR, \"Error\");'"; +$cmd = "$php $args -r \"echo 'Test'; fprintf(STDERR, 'Error');\""; $proc = proc_open($cmd, [1 => ['null'], 2 => ['pipe', 'w']], $pipes); var_dump($pipes); diff --git a/ext/standard/tests/general_functions/proc_open_redirect.phpt b/ext/standard/tests/general_functions/proc_open_redirect.phpt index 938ee0c0b48d..b31a4b8c4946 100644 --- a/ext/standard/tests/general_functions/proc_open_redirect.phpt +++ b/ext/standard/tests/general_functions/proc_open_redirect.phpt @@ -26,7 +26,7 @@ try { } echo "\nWith pipe:\n"; -$cmd = "$php $args -r 'echo \"Test\n\"; fprintf(STDERR, \"Error\");'"; +$cmd = "$php $args -r \"echo 'Test', chr(10); fprintf(STDERR, 'Error');\""; $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['redirect', 1]], $pipes); var_dump($pipes); var_dump(stream_get_contents($pipes[1]));

« previous php.cvs (#142311) next »