--TEST-- proc_open with bypass_shell, environment, and non-string arguments --SKIPIF-- --FILE-- array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "w") ); $cat = proc_open( array("/bin/echo", "echo", 1, 2, 3, 4, 5), $ds, $pipes, NULL, array("TEST_ENV" => 42, "TEST_ENV_2" => 84), array('bypass_shell' => TRUE) ); echo stream_get_contents($pipes[1]); proc_close($cat); ?> --EXPECTF-- 1 2 3 4 5