mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Improve bug60602.phpt portability
This commit is contained in:
@@ -9,7 +9,7 @@ $descs = array(
|
||||
2 => array('pipe', 'w'), // strerr
|
||||
);
|
||||
|
||||
$environment = array('test' => array(1, 2, 3));
|
||||
$environment = array('test' => array(1, 2, 3), 'PATH' => getenv('PATH'));
|
||||
|
||||
$cmd = (substr(PHP_OS, 0, 3) == 'WIN') ? 'dir' : 'ls';
|
||||
$p = proc_open($cmd, $descs, $pipes, '.', $environment);
|
||||
|
||||
Reference in New Issue
Block a user