Skip to content

Commit 4289bda

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Improve bug60602.phpt portability
2 parents e37a207 + 939b972 commit 4289bda

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)