/PHP-7.0/ext/standard/tests/file/ |
H A D | popen_pclose_basic.phpt | 2 Test popen() and pclose function: basic functionality 12 * Prototype: resource popen ( string command, string mode ) 24 echo "-- Testing popen(): reading from the pipe --\n"; 29 $file_handle = popen(CMD, 'r'); 37 $file_handle = popen($command, "r"); 44 echo "*** Testing popen(): writing to the pipe ***\n"; 46 $file_handle = popen("sort", "w"); 58 $return_value_popen = popen("echo $string", "r"); 76 *** Testing popen() and pclose() with different processes *** 77 -- Testing popen(): reading from the pipe -- [all …]
|
H A D | popen_pclose_error.phpt | 2 Test popen() and pclose function: error conditions 12 * Prototype: resource popen ( string command, string mode ) 20 var_dump( popen() ); // Zero Arguments 21 var_dump( popen("abc.txt") ); // Single Argument 22 var_dump( popen("abc.txt", "rw") ); // Invalid mode Argument 24 $file_handle = fopen($file_path."/popen.tmp", "w"); 33 unlink($file_path."/popen.tmp"); 38 Warning: popen() expects exactly 2 parameters, 0 given in %s on line %d 41 Warning: popen() expects exactly 2 parameters, 1 given in %s on line %d 44 Warning: popen(abc.txt,rw): %s on line %d
|
H A D | popen_pclose_basic-win32.phpt | 2 Test popen() and pclose function: basic functionality 13 * Prototype: resource popen ( string command, string mode ) 20 echo "*** Testing popen(): reading from the pipe ***\n"; 25 $file_handle = popen(" echo $string", "r"); 29 echo "*** Testing popen(): writing to the pipe ***\n"; 31 // popen("sort", "w") fails if variables_order="GPCS" 45 $file_handle = popen("$sysroot/system32/sort", "w"); 54 $return_value_popen = popen("echo $string", "r"); 63 *** Testing popen(): reading from the pipe *** 65 *** Testing popen(): writing to the pipe *** [all …]
|
H A D | popen_pclose_error-sunos.phpt | 2 Test popen() and pclose function: error conditions 12 * Prototype: resource popen ( string command, string mode ) 20 var_dump( popen() ); // Zero Arguments 21 var_dump( popen("abc.txt") ); // Single Argument 22 var_dump( popen("abc.txt", "rw") ); // Invalid mode Argument 24 $file_handle = fopen($file_path."/popen.tmp", "w"); 33 unlink($file_path."/popen.tmp"); 38 Warning: Wrong parameter count for popen() in %s on line %d 41 Warning: Wrong parameter count for popen() in %s on line %d
|
H A D | popen_pclose_error-win32.phpt | 2 Test popen() and pclose function: error conditions 13 * Prototype: resource popen ( string command, string mode ) 21 var_dump( popen() ); // Zero Arguments 22 var_dump( popen("abc.txt") ); // Single Argument 23 var_dump( popen("abc.txt", "rw") ); // Invalid mode Argument 25 $file_handle = fopen($file_path."/popen.tmp", "w"); 34 unlink($file_path."/popen.tmp"); 39 Warning: popen() expects exactly 2 parameters, 0 given in %s on line %d 42 Warning: popen() expects exactly 2 parameters, 1 given in %s on line %d 45 Warning: popen(abc.txt,rw): Invalid argument in %s on line %d
|
H A D | popen_pclose_error-win32-debug.phpt | 2 Test popen() and pclose function: error conditions 16 * Prototype: resource popen ( string command, string mode ) 24 var_dump( popen() ); // Zero Arguments 25 var_dump( popen("abc.txt") ); // Single Argument 26 var_dump( popen("abc.txt", "rw") ); // Invalid mode Argument 28 $file_handle = fopen($file_path."/popen.tmp", "w"); 37 unlink($file_path."/popen.tmp"); 42 Warning: popen() expects exactly 2 parameters, 0 given in %s on line %d 45 Warning: popen() expects exactly 2 parameters, 1 given in %s on line %d 50 Warning: popen(abc.txt,rw): Invalid argument in %s on line %d
|
H A D | bug41874_1.phpt | 13 popen("1:\\non_existent", "r");
|
H A D | pclose_variation1.phpt | 8 * Description: Close a file pointer opened by popen()
|
/PHP-7.0/TSRM/ |
H A D | tsrm_nw.h | 26 TSRM_API FILE* popen(const char *command, const char *type);
|
H A D | tsrm_win32.h | 103 TSRM_API FILE *popen(const char *command, const char *type);
|
H A D | tsrm_nw.c | 53 TSRM_API FILE* popen(const char *commandline, const char *type) function
|
H A D | tsrm_win32.c | 452 TSRM_API FILE *popen(const char *command, const char *type) in popen() function
|
/PHP-7.0/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_process_basic.phpt | 9 $handle = popen($cmd, $mode);
|
/PHP-7.0/ext/dba/tests/ |
H A D | dba_db4_005.phpt | 2 DBA DB4 New File Creation popen("c") & Insert Test
|
H A D | dba_db4_006.phpt | 2 DBA DB4 New File Creation popen("n") & Insert Test
|
H A D | dba_db4_007.phpt | 2 DBA DB4 File Creation popen("c") with existing invalid file
|
H A D | dba_db4_008.phpt | 2 DBA DB4 Truncate Existing File popen("n")
|
H A D | dba_db4_016.phpt | 2 DBA DB4 File Creation popen("c") with existing valid file
|
/PHP-7.0/ext/standard/ |
H A D | file.h | 35 PHP_FUNCTION(popen);
|
H A D | mail.c | 378 sendmail = popen(sendmail_cmd, "w"); in php_mail()
|
H A D | file.c | 908 PHP_FUNCTION(popen) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 3069 PHP_FE(popen, arginfo_popen)
|
/PHP-7.0/Zend/ |
H A D | zend_virtual_cwd.h | 313 #define VCWD_POPEN(command, type) popen(command, type)
|
H A D | zend_virtual_cwd.c | 1861 retval = popen(command, type); in virtual_popen() 1924 retval = popen(command_line, type); in virtual_popen()
|
/PHP-7.0/ext/imap/ |
H A D | php_imap.c | 4077 sendmail = popen(INI_STR("sendmail_path"), "w"); in _php_imap_mail()
|