--TEST-- Bug #51800 proc_open on Windows hangs forever --SKIPIF-- --XFAIL-- pipes have to be read/written simultaneously --FILE-- array("pipe", "rb"), // stdin 1 => array("pipe", "wb"), // stdout 2 => array("pipe", "wb") // stderr ); /* create the proc file */ $r = file_put_contents($callee, ' $status, "stdout" => $stdout, "stderr" => $stderr, ), strlen($stdout), strlen($stderr)); ?> ===DONE=== --CLEAN-- --EXPECTF-- array(3) { ["status"]=> int(0) ["stdout"]=> string(10000) "a%s" ["stderr"]=> string(10000) "b%s" } int(10000) int(10000) ===DONE===