Skip to content

Commit 9e96637

Browse files
committed
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Improve bug60602.phpt portability
2 parents 43549ea + 4289bda commit 9e96637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/streams/bug60602.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $descs = array(
99
2 => array('pipe', 'w'), // strerr
1010
);
1111

12-
$environment = array('test' => array(1, 2, 3));
12+
$environment = array('test' => array(1, 2, 3), 'PATH' => getenv('PATH'));
1313

1414
$cmd = (substr(PHP_OS, 0, 3) == 'WIN') ? 'dir' : 'ls';
1515
$p = proc_open($cmd, $descs, $pipes, '.', $environment);

0 commit comments

Comments
 (0)