--TEST-- proc_open with bypass_shell subprocess parameter passing --SKIPIF-- --FILE-- '); $ds = array( 0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "w") ); $p = proc_open( "$php -n $f テストマルチバイト・パス füße карамба", $ds, $pipes, NULL, NULL, array("bypass_shell" => true) ); $out = ""; while (!feof($pipes[1])) { $out .= fread($pipes[1], 1024); } proc_close($p); echo $out; ?> ==DONE== --EXPECTF-- array(4) { [0]=> string(%d) "%sproc_only_mb0.php" [1]=> string(36) "テストマルチバイト・パス" [2]=> string(6) "füße" [3]=> string(14) "карамба" } ==DONE==