--TEST-- HOST/PATH ini sections test for cli --SKIPIF-- --FILE-- array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "w"), ); $pipes = array(); $proc = proc_open("$php -c $ini_file_escaped -r 'echo ini_get(\"memory_limit\");'", $desc, $pipes); if (!$proc) { exit(1); } var_dump(stream_get_contents($pipes[1])); var_dump(stream_get_contents($pipes[2])); proc_terminate($proc); proc_close($proc); ?> --CLEAN-- --EXPECT-- string(3) "40M" string(0) ""