1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.5'

* PHP-8.5:
  Improve bug60602.phpt portability
This commit is contained in:
Ilija Tovilo
2025-10-20 17:32:01 +02:00

View File

@@ -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);