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