/php-src/ext/standard/tests/file/ |
H A D | proc_open01.phpt | 13 array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')),
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug34794.phpt | 10 $process1 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes1); 13 $process2 = proc_open('/bin/cat', array(0 => array('pipe', 'r'), 1 =>array('pipe', 'r')), $pipes2);
|
H A D | bug39322.phpt | 11 0 => array('pipe', 'r'), 12 1 => array('pipe', 'w'), 13 2 => array('pipe', 'w'));
|
H A D | bug44667.phpt | 11 0 => array('pipe', 'rb'), 12 1 => array('pipe', 'wb'),
|
H A D | bug72306.phpt | 14 0 => array("pipe", "r"), 15 1 => array("pipe", "w"), 16 2 => array("pipe", "r")
|
H A D | bug78569.phpt | 11 $descriptorspec = array(['pipe', 'r'], ['pipe', 'w'], ['pipe', 'w']);
|
H A D | gh12655.phpt | 7 0 => [ "pipe", "r" ], // stdin is a pipe that the child will read from 8 1 => [ "pipe", "w" ], // stdout is a pipe that the child will write to 9 2 => [ "pipe", "w" ], // stderr is a file to write to
|
H A D | proc_open-mb0.phpt | 17 0 => array("pipe", "r"), 18 1 => array("pipe", "w"), 19 2 => array("pipe", "w")
|
H A D | proc_open-mb1.phpt | 17 0 => array("pipe", "r"), 18 1 => array("pipe", "w"), 19 2 => array("pipe", "w")
|
H A D | proc_open.phpt | 11 0 => array("pipe", "r"), 12 1 => array("pipe", "w"), 13 2 => array("pipe", "w")
|
H A D | proc_open02.phpt | 10 $ds = array(array('pipe', 'r'));
|
H A D | proc_open_array.phpt | 8 0 => ['pipe', 'r'], 9 1 => ['pipe', 'w'], 10 2 => ['pipe', 'w'],
|
H A D | proc_open_null.phpt | 9 $proc = proc_open($cmd, [1 => ['null'], 2 => ['pipe', 'w']], $pipes); 14 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['null']], $pipes);
|
H A D | proc_open_pipes1.phpt | 7 $spec[$i] = array('pipe', 'w');
|
H A D | proc_open_pipes3.phpt | 7 $spec[$i] = array('pipe', 'w'); 24 $spec[$i] = array('pipe', "test");
|
H A D | proc_open_redirect.phpt | 25 echo "\nWith pipe:\n"; 27 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['redirect', 1]], $pipes); 60 With pipe:
|
H A D | proc_open_sockets1.phpt | 23 foreach ($pipes as $pipe) { 24 var_dump(stream_set_blocking($pipe, false)); 36 foreach ($r as $i => $pipe) { 37 if (!is_resource($pipe) || feof($pipe)) { 42 $chunk = @fread($pipe, 8192);
|
H A D | proc_open_sockets2.phpt | 6 function poll($pipe, $read = true) 8 $r = ($read == true) ? [$pipe] : null; 9 $w = ($read == false) ? [$pipe] : null; 17 function read_pipe($pipe): string 19 poll($pipe); 21 if (false === ($chunk = @fread($pipe, 8192))) { 28 function write_pipe($pipe, $data) 30 poll($pipe, false); 32 if (false == @fwrite($pipe, $data)) { 49 foreach ($pipes as $pipe) { [all …]
|
H A D | proc_open_sockets3.phpt | 2 proc_open() with socket and pipe 6 function poll($pipe, $read = true) 8 $r = ($read == true) ? [$pipe] : null; 9 $w = ($read == false) ? [$pipe] : null; 17 function read_pipe($pipe): string 19 poll($pipe); 21 if (false === ($chunk = @fread($pipe, 8192))) { 34 ['pipe', 'r'],
|
/php-src/ext/standard/tests/streams/ |
H A D | bug46024.phpt | 15 ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')) 36 foreach($pipes as $pipe) { 37 fclose($pipe);
|
H A D | bug60602.phpt | 7 0 => array('pipe', 'r'), // stdin 8 1 => array('pipe', 'w'), // stdout 9 2 => array('pipe', 'w'), // strerr
|
H A D | bug61019.phpt | 9 0 => array("pipe", "r"), // stdin is a pipe that the child will read from 10 1 => array("pipe", "w"), // stdout is a pipe that the child will write to 11 2 => array("pipe", "w") // stderr is a pipe that the child will write to
|
H A D | bug64770.phpt | 7 0 => array('pipe', 'r'), // stdin 8 1 => array('pipe', 'w'), // stdout 9 2 => array('pipe', 'w'), // strerr
|
H A D | bug72853.phpt | 13 0 => array('pipe', 'r'), // stdin 14 1 => array('pipe', 'w'), // stdout
|
H A D | bug78883.phpt | 11 0 => array("pipe", "rb"), 12 1 => array("pipe", "wb"),
|