Home
last modified time | relevance | path

Searched refs:popen (Results 1 – 23 of 23) sorted by relevance

/PHP-7.4/ext/standard/tests/file/
H A Dpopen_pclose_basic.phpt2 Test popen() and pclose function: basic functionality
11 * Prototype: resource popen ( string command, string mode )
23 echo "-- Testing popen(): reading from the pipe --\n";
28 $file_handle = popen(CMD, 'r');
36 $file_handle = popen($command, "r");
43 echo "*** Testing popen(): writing to the pipe ***\n";
45 $file_handle = popen("sort", "w");
57 $return_value_popen = popen("echo $string", "r");
74 *** Testing popen() and pclose() with different processes ***
75 -- Testing popen(): reading from the pipe --
[all …]
H A Dpopen_pclose_error.phpt2 Test popen() and pclose function: error conditions
11 * Prototype: resource popen ( string command, string mode )
19 var_dump( popen() ); // Zero Arguments
20 var_dump( popen("abc.txt") ); // Single Argument
21 var_dump( popen("abc.txt", "rw") ); // Invalid mode Argument
23 $file_handle = fopen($file_path."/popen.tmp", "w");
32 unlink($file_path."/popen.tmp");
37 Warning: popen() expects exactly 2 parameters, 0 given in %s on line %d
40 Warning: popen() expects exactly 2 parameters, 1 given in %s on line %d
43 Warning: popen(abc.txt,rw): %s on line %d
H A Dpopen_pclose_basic-win32-mb.phpt2 Test popen() and pclose function: basic functionality
11 * Prototype: resource popen ( string command, string mode )
18 echo "*** Testing popen(): reading from the pipe ***\n";
23 $file_handle = popen(" echo $string", "r");
27 echo "*** Testing popen(): writing to the pipe ***\n";
29 // popen("sort", "w") fails if variables_order="GPCS"
43 $file_handle = popen("$sysroot/system32/sort", "w");
52 $return_value_popen = popen("echo $string", "r");
61 *** Testing popen(): reading from the pipe ***
63 *** Testing popen(): writing to the pipe ***
[all …]
H A Dpopen_pclose_basic-win32.phpt2 Test popen() and pclose function: basic functionality
11 * Prototype: resource popen ( string command, string mode )
18 echo "*** Testing popen(): reading from the pipe ***\n";
23 $file_handle = popen(" echo $string", "r");
27 echo "*** Testing popen(): writing to the pipe ***\n";
29 // popen("sort", "w") fails if variables_order="GPCS"
43 $file_handle = popen("$sysroot/system32/sort", "w");
52 $return_value_popen = popen("echo $string", "r");
61 *** Testing popen(): reading from the pipe ***
63 *** Testing popen(): writing to the pipe ***
[all …]
H A Dpopen_pclose_error-sunos.phpt2 Test popen() and pclose function: error conditions
11 * Prototype: resource popen ( string command, string mode )
19 var_dump( popen() ); // Zero Arguments
20 var_dump( popen("abc.txt") ); // Single Argument
21 var_dump( popen("abc.txt", "rw") ); // Invalid mode Argument
23 $file_handle = fopen($file_path."/popen.tmp", "w");
32 unlink($file_path."/popen.tmp");
37 Warning: Wrong parameter count for popen() in %s on line %d
40 Warning: Wrong parameter count for popen() in %s on line %d
H A Dbug41874_1.phpt13 popen("1:\\non_existent", "r");
H A Dbug78386.phpt9 $handle = popen('dir', 'r');
/PHP-7.4/ext/standard/tests/streams/
H A Dstream_get_meta_data_process_basic.phpt9 $handle = popen($cmd, $mode);
/PHP-7.4/ext/dba/tests/
H A Ddba_db4_005.phpt2 DBA DB4 New File Creation popen("c") & Insert Test
H A Ddba_db4_006.phpt2 DBA DB4 New File Creation popen("n") & Insert Test
H A Ddba_db4_008.phpt2 DBA DB4 Truncate Existing File popen("n")
H A Ddba_db4_007.phpt2 DBA DB4 File Creation popen("c") with existing invalid file
H A Ddba_db4_016.phpt2 DBA DB4 File Creation popen("c") with existing valid file
/PHP-7.4/TSRM/
H A Dtsrm_win32.h102 TSRM_API FILE *popen(const char *command, const char *type);
H A Dtsrm_win32.c442 TSRM_API FILE *popen(const char *command, const char *type) in popen() function
/PHP-7.4/ext/standard/tests/general_functions/
H A Dproc_nice_basic-win.phpt32 $p = popen('wmic process where name="' . $bin . '"', 'r');
/PHP-7.4/ext/standard/
H A Dfile.h31 PHP_FUNCTION(popen);
H A Dmail.c576 sendmail = popen(sendmail_cmd, "w"); in php_mail()
H A Dfile.c924 PHP_FUNCTION(popen) in PHP_FUNCTION() argument
H A Dbasic_functions.c3124 PHP_FE(popen, arginfo_popen)
/PHP-7.4/Zend/
H A Dzend_virtual_cwd.h323 #define VCWD_POPEN(command, type) popen(command, type)
H A Dzend_virtual_cwd.c1704 retval = popen(command_line, type); in virtual_popen()
/PHP-7.4/ext/imap/
H A Dphp_imap.c4179 sendmail = popen(INI_STR("sendmail_path"), "w"); in _php_imap_mail()

Completed in 55 milliseconds