/PHP-8.3/ext/standard/tests/file/ |
H A D | popen_pclose_basic.phpt | 2 Test popen() and pclose function: basic functionality 15 echo "-- Testing popen(): reading from the pipe --\n"; 20 $file_handle = popen(CMD, 'r'); 29 $file_handle = popen($command, "r"); 36 echo "*** Testing popen(): writing to the pipe ***\n"; 38 $file_handle = popen("sort", "w"); 50 $return_value_popen = popen("echo $string", "r"); 67 *** Testing popen() and pclose() with different processes *** 68 -- Testing popen(): reading from the pipe -- 70 -- Testing popen(): reading from a file using 'cat' command -- [all …]
|
H A D | popen_pclose_error.phpt | 2 Test popen() and pclose function: error conditions 7 popen("abc.txt", "x"); 13 popen("abc.txt", "rw"); 19 popen("abc.txt", "rwb"); 26 popen(): Argument #2 ($mode) must be one of "r", "rb", "w", or "wb" 27 popen(): Argument #2 ($mode) must be one of "r", "rb", "w", or "wb" 28 popen(): Argument #2 ($mode) must be one of "r", "rb", "w", or "wb"
|
H A D | popen_pclose_basic-win32-mb.phpt | 2 Test popen() and pclose function: basic functionality 10 echo "*** Testing popen(): reading from the pipe ***\n"; 15 $file_handle = popen(" echo $string", "r"); 19 echo "*** Testing popen(): writing to the pipe ***\n"; 21 // popen("sort", "w") fails if variables_order="GPCS" 35 $file_handle = popen("$sysroot/system32/sort", "w"); 43 echo "*** Testing popen() and pclose(): return type ***\n"; 44 $return_value_popen = popen("echo $string", "r"); 53 *** Testing popen(): reading from the pipe *** 55 *** Testing popen(): writing to the pipe *** [all …]
|
H A D | popen_pclose_basic-win32.phpt | 2 Test popen() and pclose function: basic functionality 10 echo "*** Testing popen(): reading from the pipe ***\n"; 15 $file_handle = popen(" echo $string", "r"); 19 echo "*** Testing popen(): writing to the pipe ***\n"; 21 // popen("sort", "w") fails if variables_order="GPCS" 35 $file_handle = popen("$sysroot/system32/sort", "w"); 43 echo "*** Testing popen() and pclose(): return type ***\n"; 44 $return_value_popen = popen("echo $string", "r"); 53 *** Testing popen(): reading from the pipe *** 55 *** Testing popen(): writing to the pipe *** [all …]
|
H A D | popen_pclose_error-sunos.phpt | 2 Test popen() and pclose function: error conditions 13 var_dump( popen() ); // Zero Arguments 14 var_dump( popen("abc.txt") ); // Single Argument 15 var_dump( popen("abc.txt", "rw") ); // Invalid mode Argument 17 $file_handle = fopen($file_path."/popen.tmp", "w"); 26 unlink($file_path."/popen.tmp"); 31 Warning: Wrong parameter count for popen() in %s on line %d 34 Warning: Wrong parameter count for popen() in %s on line %d
|
H A D | bug41874_1.phpt | 13 popen("1:\\non_existent", "r");
|
H A D | bug78386.phpt | 9 $handle = popen('dir', 'r');
|
/PHP-8.3/ext/standard/tests/streams/ |
H A D | stream_cast_loses_data.phpt | 5 if (PHP_OS_FAMILY === "Windows") die("skip non-Windows tests (popen cannot delete file as open in c… 12 $stream = popen('echo 1; echo 2; rm ' . escapeshellarg($tempnam), 'r');
|
H A D | stream_get_meta_data_process_basic.phpt | 9 $handle = popen($cmd, $mode);
|
/PHP-8.3/sapi/fpm/tests/ |
H A D | socket-close-on-exec.phpt | 33 $ph = popen("/bin/sh -c 'lsof -Pn -p$mypid' 2>&1 | grep TCP | grep '127.0.0.1:$fpmPort'", 'r'); 49 $ph = popen("/bin/sh -c 'lsof -Pn -p\$\$' 2>&1 | grep TCP | grep '127.0.0.1:$fpmPort'", 'r');
|
/PHP-8.3/TSRM/ |
H A D | tsrm_win32.h | 97 TSRM_API FILE *popen(const char *command, const char *type);
|
H A D | tsrm_win32.c | 439 TSRM_API FILE *popen(const char *command, const char *type) in popen() function
|
/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | proc_nice_basic-win.phpt | 28 $p = popen('wmic process where name="' . $bin . '"', 'r');
|
/PHP-8.3/Zend/ |
H A D | zend_virtual_cwd.h | 332 #define VCWD_POPEN(command, type) popen(command, type)
|
H A D | zend_virtual_cwd.c | 1712 retval = popen(command_line, type); in virtual_popen()
|
/PHP-8.3/ext/standard/ |
H A D | mail.c | 533 sendmail = popen(sendmail_cmd, "w"); in php_mail()
|
H A D | file.c | 794 PHP_FUNCTION(popen) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 2710 function popen(string $command, string $mode) {}
|
H A D | basic_functions_arginfo.h | 2537 ZEND_FUNCTION(popen); 3175 ZEND_FE(popen, arginfo_popen)
|
/PHP-8.3/ext/dba/tests/setup/ |
H A D | setup_dba_tests.inc | 160 /* TODO popen test? Old code copied from the previous general test
|
/PHP-8.3/ext/imap/ |
H A D | php_imap.c | 3822 sendmail = popen(INI_STR("sendmail_path"), "w"); in _php_imap_mail()
|