Home
last modified time | relevance | path

Searched refs:pipes (Results 1 – 18 of 18) sorted by relevance

/PHP-5.3/ext/standard/tests/general_functions/
H A Dbug44667.phpt2 Bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly)
8 $pipes = array();
15 $proc = proc_open('cat', $descriptor_spec, $pipes);
17 fwrite($pipes[0], 'Hello', 5);
18 fflush($pipes[0]);
19 fclose($pipes[0]);
21 $result = fread($pipes[1], 5);
22 fclose($pipes[1]);
H A Dbug39322.phpt15 $pipes = array();
17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes);
H A Dproc_open.phpt19 $pipes
H A Dproc_open02.phpt15 $pipes
/PHP-5.3/ext/standard/tests/file/
H A Dproc_open01.phpt5 $pipes = array(1, 2, 3);
6 $orig_pipes = $pipes;
14 $pipes, getcwd(), array(), array('binary_pipes' => true)
19 var_dump($pipes);
20 stream_set_blocking($pipes[1], FALSE);
22 fwrite($pipes[0], $test_string);
23 fflush($pipes[0]);
24 fclose($pipes[0]);
32 $read_fds = array($pipes[1]);
44 $buf = fread($pipes[1], 1024);
[all …]
H A Dbug60120.phpt28 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
30 foreach ($pipes as $pipe) {
33 $writePipes = array($pipes[0]);
37 unset($pipes[0]);
39 while ($pipes || $writePipes) {
40 $r = $pipes;
63 $type = array_search($pipe, $pipes);
67 unset($pipes[$type]);
/PHP-5.3/ext/standard/tests/streams/
H A Dbug46024.phpt8 $pipes = array();
12 ,$pipes, dirname(__FILE__), array(), array('binary_pipes' => true)
18 $r = array($pipes[1]);
19 $w = array($pipes[0]);
23 fread($pipes[1], 1);
25 $r = array($pipes[1]);
26 $w = array($pipes[0]);
32 foreach($pipes as $pipe) {
H A Dbug64770.phpt2 Bug #64770 stream_select() fails with pipes from proc_open()
15 $p = proc_open($cmd, $descs, $pipes, '.', NULL, $other_opts);
22 $n = stream_select($pipes, $w, $e, 300);
32 $line = fread($pipes[1], 8192);
/PHP-5.3/sapi/cli/tests/
H A D022.phpt26 $pipes = array();
27 $proc = proc_open("$php -n " . escapeshellarg($test_file), $desc, $pipes);
/PHP-5.3/ext/standard/
H A Dproc_open.h47 long pipes[PHP_PROC_OPEN_MAX_DESCRIPTORS]; member
H A Dproc_open.c244 if (proc->pipes[i] != 0) { in proc_open_rsrc_dtor()
245 zend_list_delete(proc->pipes[i]); in proc_open_rsrc_dtor()
246 proc->pipes[i] = 0; in proc_open_rsrc_dtor()
497 zval *pipes; in PHP_FUNCTION() local
536 &command_len, &descriptorspec, &pipes, &cwd, &cwd_len, &environment, in PHP_FUNCTION()
961 if (pipes != NULL) { in PHP_FUNCTION()
962 zval_dtor(pipes); in PHP_FUNCTION()
964 array_init(pipes); in PHP_FUNCTION()
1020 add_index_zval(pipes, descriptors[i].index, retfp); in PHP_FUNCTION()
1022 proc->pipes[i] = Z_LVAL_P(retfp); in PHP_FUNCTION()
[all …]
H A Dbasic_functions.c1884 ZEND_ARG_INFO(1, pipes) /* ARRAY_INFO(1, pipes, 1) */
/PHP-5.3/win32/build/
H A Dmkdist.php78 $pipes);
81 while (($line = fgetcsv($pipes[1]))) {
110 fclose($pipes[1]);
/PHP-5.3/
H A Dserver-tests.php179 $pipes, $cwd, $env);
185 $out = fwrite($pipes[0],$input);
191 fclose($pipes[0]);
195 $r = $pipes;
206 $line = fread($pipes[1], 8192);
H A Drun-tests.php1065 ), $pipes, $cwd, $bin_env, array('suppress_errors' => true, 'binary_pipes' => true));
1072 fwrite($pipes[0], $stdin);
1074 fclose($pipes[0]);
1080 $r = $pipes;
1094 $line = fread($pipes[1], 8192);
H A DNEWS134 . Fixed bug #64770 (stream_select() fails with pipes returned by proc_open()
3877 - Fixed bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly). (Jani)
/PHP-5.3/ext/pcre/pcrelib/
H A DNEWS156 pipes.
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch1053 * `safe' read for sockets and pipes.

Completed in 66 milliseconds