blob: a232d53dd7bb6e271ddd3ae3216266aac9dbc6e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--TEST--
proc_open() with no pipes
--FILE--
<?php
include dirname(__FILE__) . "/proc_open_pipes.inc";
$spec = array();
$php = getenv("TEST_PHP_EXECUTABLE");
$callee = create_sleep_script();
proc_open("$php -n $callee", $spec, $pipes);
var_dump(count($spec));
var_dump($pipes);
?>
--CLEAN--
<?php
include dirname(__FILE__) . "/proc_open_pipes.inc";
unlink_sleep_script();
?>
--EXPECTF--
int(0)
array(0) {
}
|