/PHP-8.2/ext/standard/tests/file/ |
H A D | 007_variation1.phpt | 2 Test fopen and fclose() functions - usage variations - "r" mode 6 /* Test fopen() and fclose(): Opening the file in "r" mode, 18 echo "*** Test fopen() & fclose() functions: with 'r' mode ***\n"; 19 $file_handle = fopen($file, "r"); //opening the file in "r" mode 33 *** Test fopen() & fclose() functions: with 'r' mode ***
|
H A D | 007_variation17.phpt | 2 Test fopen and fclose() functions - usage variations - "rb" mode 6 /* Test fopen() and fclose(): Opening the file in "rb" mode, 18 echo "*** Test fopen() & fclose() functions: with 'rb' mode ***\n"; 19 $file_handle = fopen($file, "rb"); //opening the file in "rb" mode 33 *** Test fopen() & fclose() functions: with 'rb' mode ***
|
H A D | 007_variation9.phpt | 2 Test fopen and fclose() functions - usage variations - "rt" mode 6 /* Test fopen() and fclose(): Opening the file in "rt" mode, 18 echo "*** Test fopen() & fclose() functions: with 'rt' mode ***\n"; 19 $file_handle = fopen($file, "rt"); //opening the file in "rt" mode 33 *** Test fopen() & fclose() functions: with 'rt' mode ***
|
H A D | 007_variation21.phpt | 2 Test fopen and fclose() functions - usage variations - "ab" mode 6 /* Test fopen() and fclose(): Opening the file in "ab" mode, 18 echo "*** Test fopen() & fclose() functions: with 'ab' mode ***\n"; 19 $file_handle = fopen($file, "ab"); //opening the file "ab" mode 31 fclose( fopen($file, "ab") ); //Opening the non-existing file in "ab" mode, which will be created 39 *** Test fopen() & fclose() functions: with 'ab' mode ***
|
H A D | 007_variation5.phpt | 2 Test fopen and fclose() functions - usage variations - "a" mode 6 /* Test fopen() and fclose(): Opening the file in "a" mode, 18 echo "*** Test fopen() & fclose() functions: with 'a' mode ***\n"; 19 $file_handle = fopen($file, "a"); //opening the file "a" mode 31 fclose( fopen($file, "a") ); //Opening the non-existing file in "a" mode, which will be created 39 *** Test fopen() & fclose() functions: with 'a' mode ***
|
H A D | popen_pclose_error.phpt | 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 | fread_variation1.phpt | 103 -- File opened in mode a+ -- 118 -- File opened in mode a+b -- 133 -- File opened in mode a+t -- 148 -- File opened in mode w+ -- 163 -- File opened in mode w+b -- 178 -- File opened in mode w+t -- 193 -- File opened in mode x+ -- 240 -- File opened in mode a+ -- 285 -- File opened in mode w+ -- 330 -- File opened in mode x+ -- [all …]
|
H A D | 007_variation13.phpt | 2 Test fopen and fclose() functions - usage variations - "at" mode 11 /* Test fopen() and fclose(): Opening the file in "at" mode, 23 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n"; 24 $file_handle = fopen($file, "at"); //opening the file "at" mode 36 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created 44 *** Test fopen() & fclose() functions: with 'at' mode ***
|
H A D | 007_variation13-win32.phpt | 2 Test fopen and fclose() functions - usage variations - "at" mode 11 /* Test fopen() and fclose(): Opening the file in "at" mode, 23 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n"; 24 $file_handle = fopen($file, "at"); //opening the file "at" mode 36 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created 44 *** Test fopen() & fclose() functions: with 'at' mode ***
|
H A D | fread_variation3-win32-mb.phpt | 108 -- File opened in mode a+ -- 122 -- File opened in mode a+b -- 136 -- File opened in mode a+t -- 150 -- File opened in mode w+ -- 164 -- File opened in mode w+b -- 178 -- File opened in mode w+t -- 192 -- File opened in mode x+ -- 236 -- File opened in mode a+ -- 278 -- File opened in mode w+ -- 320 -- File opened in mode x+ -- [all …]
|
H A D | fread_variation3-win32.phpt | 108 -- File opened in mode a+ -- 122 -- File opened in mode a+b -- 136 -- File opened in mode a+t -- 150 -- File opened in mode w+ -- 164 -- File opened in mode w+b -- 178 -- File opened in mode w+t -- 192 -- File opened in mode x+ -- 236 -- File opened in mode a+ -- 278 -- File opened in mode w+ -- 320 -- File opened in mode x+ -- [all …]
|
H A D | fread_variation3.phpt | 108 -- File opened in mode a+ -- 122 -- File opened in mode a+b -- 136 -- File opened in mode a+t -- 150 -- File opened in mode w+ -- 164 -- File opened in mode w+b -- 178 -- File opened in mode w+t -- 192 -- File opened in mode x+ -- 236 -- File opened in mode a+ -- 278 -- File opened in mode w+ -- 320 -- File opened in mode x+ -- [all …]
|
H A D | stat_variation5-win32.phpt | 2 Test stat() functions: usage variations - file opened in read/write mode 12 /* test the stats of file opened in write mode and then same in read mode */ 31 // opening file again in read mode
|
H A D | 007_variation10.phpt | 2 Test fopen and fclose() functions - usage variations - "r+t" mode 6 /* Test fopen() and fclose(): Opening the file in "r+t" mode, 18 echo "*** Test fopen() & fclose() functions: with 'r+t' mode ***\n"; 19 $file_handle = fopen($file, "r+t"); //opening the file in "r+t" mode 35 *** Test fopen() & fclose() functions: with 'r+t' mode ***
|
H A D | 007_variation18.phpt | 2 Test fopen and fclose() functions - usage variations - "r+b" mode 6 /* Test fopen() and fclose(): Opening the file in "r+b" mode, 18 echo "*** Test fopen() & fclose() functions: with 'r+b' mode ***\n"; 19 $file_handle = fopen($file, "r+b"); //opening the file in "r+b" mode 35 *** Test fopen() & fclose() functions: with 'r+b' mode ***
|
H A D | 007_variation2.phpt | 2 Test fopen and fclose() functions - usage variations - "r+" mode 6 /* Test fopen() and fclose(): Opening the file in "r+" mode, 18 echo "*** Test fopen() & fclose() functions: with 'r+' mode ***\n"; 19 $file_handle = fopen($file, "r+"); //opening the file in "r+" mode 35 *** Test fopen() & fclose() functions: with 'r+' mode ***
|
H A D | fgetc_variation4.phpt | 17 echo "-- File opened in mode : $file_mode --\n"; 51 -- File opened in mode : a+ -- 77 -- File opened in mode : a+b -- 103 -- File opened in mode : a+t -- 129 -- File opened in mode : x+ -- 155 -- File opened in mode : x+b -- 181 -- File opened in mode : x+t -- 207 -- File opened in mode : w+ -- 233 -- File opened in mode : w+b -- 259 -- File opened in mode : w+t --
|
/PHP-8.2/tests/lang/ |
H A D | bug24951.phpt | 5 function test($s, $mode) 7 …return (($mode & PHP_OUTPUT_HANDLER_START)?"[":"") . $s . (($mode & PHP_OUTPUT_HANDLER_END)?"]\n":…
|
/PHP-8.2/ext/spl/ |
H A D | spl_directory.h | 103 #define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode) argument 109 #define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode) argument
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | sizeof_variation3.phpt | 2 Test sizeof() function : usage variations - checking for infinite recursion in COUNT_RECURSIVE mode 7 echo "-- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --… 23 -- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --
|
/PHP-8.2/ext/calendar/ |
H A D | calendar.stub.php | 131 function easter_date(?int $year = null, int $mode = CAL_EASTER_DEFAULT): int {} argument 133 function easter_days(?int $year = null, int $mode = CAL_EASTER_DEFAULT): int {} argument 139 function jddayofweek(int $julian_day, int $mode = CAL_DOW_DAYNO): int|string {} argument 141 function jdmonthname(int $julian_day, int $mode): string {} argument
|
/PHP-8.2/ext/oci8/tests/ |
H A D | imp_res_insert.phpt | 54 echo "Test 1 - No commit in procedure, OCI_COMMIT_ON_SUCCESS mode\n"; 64 echo "\nTest 2 - No commit in procedure, OCI_NO_AUTO_COMMIT mode\n"; 75 echo "\nTest 3 - Commit in procedure, OCI_COMMIT_ON_SUCCESS mode\n"; 86 echo "\nTest 4 - Commit in procedure, OCI_NO_AUTO_COMMIT mode\n"; 108 Test 1 - No commit in procedure, OCI_COMMIT_ON_SUCCESS mode 115 Test 2 - No commit in procedure, OCI_NO_AUTO_COMMIT mode 123 Test 3 - Commit in procedure, OCI_COMMIT_ON_SUCCESS mode 136 Test 4 - Commit in procedure, OCI_NO_AUTO_COMMIT mode
|
/PHP-8.2/ext/random/ |
H A D | engine_mt19937.c | 102 if (state->mode == MT_RAND_MT19937) { in mt19937_reload() 179 ZVAL_LONG(&t, s->mode); in serialize() 217 s->mode = Z_LVAL_P(t); in unserialize() 218 if (s->mode != MT_RAND_MT19937 && s->mode != MT_RAND_PHP) { in unserialize() 253 zend_long seed, mode = MT_RAND_MT19937; in PHP_METHOD() local 259 Z_PARAM_LONG(mode); in PHP_METHOD() 262 switch (mode) { in PHP_METHOD() 264 state->mode = MT_RAND_MT19937; in PHP_METHOD() 267 state->mode = MT_RAND_PHP; in PHP_METHOD()
|
/PHP-8.2/ext/standard/ |
H A D | php_fopen_wrapper.c | 176 …p_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, in php_stream_url_wrap_php() argument 204 mode_rw = php_stream_mode_from_str(mode); in php_stream_url_wrap_php() 209 mode_rw = php_stream_mode_from_str(mode); in php_stream_url_wrap_php() 341 if (strchr(mode, 'r') || strchr(mode, '+')) { in php_stream_url_wrap_php() 344 if (strchr(mode, 'w') || strchr(mode, '+') || strchr(mode, 'a')) { in php_stream_url_wrap_php() 355 if (!(stream = php_stream_open_wrapper(p + 10, mode, options, opened_path))) { in php_stream_url_wrap_php() 408 stream = php_stream_fopen_from_file(file, mode); in php_stream_url_wrap_php() 410 stream = php_stream_fopen_from_fd(fd, mode, NULL); in php_stream_url_wrap_php()
|
/PHP-8.2/ext/standard/tests/streams/ |
H A D | bug44818.phpt | 5 function test($url, $mode) { 6 echo "$url, $mode\n"; 7 $fd = fopen($url, $mode);
|