diff options
Diffstat (limited to 'ext/standard/tests/streams/bug46024.phpt')
-rw-r--r-- | ext/standard/tests/streams/bug46024.phpt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/standard/tests/streams/bug46024.phpt b/ext/standard/tests/streams/bug46024.phpt index 4fb0eee402..145e66c1bd 100644 --- a/ext/standard/tests/streams/bug46024.phpt +++ b/ext/standard/tests/streams/bug46024.phpt @@ -7,13 +7,13 @@ Bug #46024 stream_select() doesn't return the correct number $php = realpath(getenv('TEST_PHP_EXECUTABLE')); $pipes = array(); $proc = proc_open( - "$php -n -i" - ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')) - ,$pipes, __DIR__, array(), array() + "$php -n -i" + ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')) + ,$pipes, __DIR__, array(), array() ); var_dump($proc); if (!$proc) { - exit(1); + exit(1); } $r = array($pipes[1]); $w = array($pipes[0]); @@ -30,13 +30,13 @@ var_dump($ret === (count($r) + count($w))); foreach($pipes as $pipe) { - fclose($pipe); + fclose($pipe); } proc_terminate($proc); if (defined('SIGKILL')) { - proc_terminate($proc, SIGKILL); + proc_terminate($proc, SIGKILL); } else { - proc_terminate($proc); + proc_terminate($proc); } proc_close($proc); ?> |