/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | proc_open_redirect.phpt | 2 Redirection support in proc_open 7 var_dump(proc_open([$php], [['redirect']], $pipes)); 8 var_dump(proc_open([$php], [['redirect', 'foo']], $pipes)); 9 var_dump(proc_open([$php], [['redirect', 42]], $pipes)); 13 $proc = proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['redirect', 1]], $pipes); 20 $proc = proc_open($cmd, [1 => ['file', $fileName, 'w'], 2 => ['redirect', 1]], $pipes); 28 $proc = proc_open($cmd, [1 => $file, 2 => ['redirect', 1]], $pipes); 36 $proc = proc_open($cmd, [2 => ['redirect', 1]], $pipes); 41 Warning: proc_open(): Missing redirection target in %s on line %d 44 Warning: proc_open(): Redirection target must be an integer in %s on line %d [all …]
|
H A D | proc_open_pipes3.phpt | 2 proc_open() with invalid pipes 14 proc_open("$php -n $callee", $spec, $pipes); 17 proc_open("$php -n $callee", $spec, $pipes); 20 proc_open("$php -n $callee", $spec, $pipes); 24 proc_open("$php -n $callee", $spec, $pipes); 30 Warning: proc_open(): pi is not a valid descriptor spec/mode in %s on line %d 32 Warning: proc_open(): Descriptor item must be either an array or a File-Handle in %s on line %d 44 Warning: proc_open(test): failed to open stream: %s in %s on line %d
|
H A D | proc_open_array.phpt | 2 Using proc_open() with a command array (no shell) 14 var_dump(proc_open([], $ds, $pipes)); 17 var_dump(proc_open(["php\0oops"], $ds, $pipes)); 20 var_dump(proc_open(["php", "arg\0oops"], $ds, $pipes)); 23 $proc = proc_open([$php, '-r', 'echo "Hello World!\n";'], $ds, $pipes); 32 $proc = proc_open($cmd, $ds, $pipes); 37 $proc = proc_open($cmd, $ds, $pipes, null, $env); 52 $proc = proc_open($cmd, $ds, $pipes); 59 Warning: proc_open(): Command array must have at least one element in %s on line %d 63 Warning: proc_open(): Command array element 1 contains a null byte in %s on line %d [all …]
|
H A D | proc_open.phpt | 2 proc_open 6 if (!function_exists("proc_open")) echo "skip proc_open() is not available"; 16 $cat = proc_open(
|
H A D | proc_open-mb1.phpt | 2 proc_open without bypass_shell subprocess parameter passing 6 if (!function_exists("proc_open")) echo "skip proc_open() is not available"; 22 $p = proc_open(
|
H A D | proc_open-mb0.phpt | 2 proc_open with bypass_shell subprocess parameter passing 6 if (!function_exists("proc_open")) echo "skip proc_open() is not available"; 22 $p = proc_open(
|
H A D | proc_open_null.phpt | 2 Null pipes in proc_open() 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_pipes2.phpt | 2 proc_open() with no pipes 10 proc_open("$php -n $callee", $spec, $pipes);
|
H A D | bug72306.phpt | 2 Bug #72306 (Heap overflow through proc_open and $env parameter) 18 $process = proc_open('nothing', $description, $pipes, NULL, $env);
|
H A D | bug44667.phpt | 2 Bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly) 15 $proc = proc_open('cat', $descriptor_spec, $pipes);
|
H A D | bug78569.phpt | 2 Bug #78569 (proc_open() may require extra quoting) 15 $proc = proc_open($cmd, $descriptorspec, $pipes);
|
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 | proc_open02.phpt | 2 proc_open 12 $cat = proc_open(
|
/PHP-7.4/ext/standard/ |
H A D | exec.h | 28 PHP_FUNCTION(proc_open); 33 PHP_MINIT_FUNCTION(proc_open);
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | bug69442.phpt | 2 proc_open with PTY closes incorrect file descriptor 10 $process = proc_open('echo "foo";', $descriptors, $pipes); 29 $process = proc_open($cmd, $descriptors, $pipes);
|
H A D | proc_open01.phpt | 2 proc_open() regression test 1 (proc_open() leak) 11 $proc = proc_open(
|
/PHP-7.4/ext/readline/tests/ |
H A D | bug77812-libedit.phpt | 7 if (!function_exists('proc_open')) die('skip proc_open() not available'); 14 $proc = proc_open("$php $ini -a", $descriptorspec, $pipes);
|
H A D | bug77812-readline.phpt | 7 if (!function_exists('proc_open')) die('skip proc_open() not available'); 14 $proc = proc_open("$php $ini -a", $descriptorspec, $pipes);
|
/PHP-7.4/ext/openssl/tests/ |
H A D | bug76705.phpt | 6 if (!function_exists("proc_open")) die("skip no proc_open");
|
H A D | bug73072.phpt | 6 if (!function_exists("proc_open")) die("skip no proc_open");
|
H A D | bug62890.phpt | 6 if (!function_exists("proc_open")) die("skip no proc_open");
|
H A D | bug46127.phpt | 6 if (!function_exists("proc_open")) die("skip no proc_open");
|
H A D | stream_verify_peer_name_001.phpt | 6 if (!function_exists("proc_open")) die("skip no proc_open");
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | bug64770.phpt | 2 Bug #64770 stream_select() fails with pipes from proc_open() 15 $p = proc_open($cmd, $descs, $pipes, '.', NULL, $other_opts);
|
H A D | bug60602.phpt | 2 Bug #60602 proc_open() modifies environment if it contains arrays 15 $p = proc_open($cmd, $descs, $pipes, '.', $environment);
|