summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/proc_open_pipes2.phpt
blob: 3c1cf9695592fc880e1f44ab2d8b573c7d37b5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
proc_open() with no pipes
--FILE--
<?php

$spec = array();

$php = getenv("TEST_PHP_EXECUTABLE");
$callee = __DIR__ . "/proc_open_pipes_sleep.inc";
proc_open("$php -n $callee", $spec, $pipes);

var_dump(count($spec));
var_dump($pipes);

?>
--EXPECT--
int(0)
array(0) {
}