/PHP-7.4/ext/standard/tests/file/ |
H A D | 007_variation9.phpt | 2 Test fopen and fclose() functions - usage variations - "rt" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "rt" mode, 29 echo "*** Test fopen() & fclose() functions: with 'rt' mode ***\n"; 30 $file_handle = fopen($file, "rt"); //opening the file in "rt" mode 44 *** Test fopen() & fclose() functions: with 'rt' mode ***
|
H A D | fseek_ftell_rewind_basic1.phpt | 67 -- File opened in mode r -- 83 -- File opened in mode rb -- 99 -- File opened in mode rt -- 115 -- File opened in mode r+ -- 163 -- File opened in mode a -- 179 -- File opened in mode ab -- 195 -- File opened in mode at -- 211 -- File opened in mode a+ -- 261 -- File opened in mode r -- 277 -- File opened in mode rb -- [all …]
|
H A D | fseek_ftell_rewind_basic2-win32-mb.phpt | 77 -- File opened in mode w -- 93 -- File opened in mode wb -- 109 -- File opened in mode wt -- 125 -- File opened in mode w+ -- 173 -- File opened in mode x -- 189 -- File opened in mode xb -- 205 -- File opened in mode xt -- 221 -- File opened in mode x+ -- 271 -- File opened in mode w -- 287 -- File opened in mode wb -- [all …]
|
H A D | fseek_ftell_rewind_basic2-win32.phpt | 77 -- File opened in mode w -- 93 -- File opened in mode wb -- 109 -- File opened in mode wt -- 125 -- File opened in mode w+ -- 173 -- File opened in mode x -- 189 -- File opened in mode xb -- 205 -- File opened in mode xt -- 221 -- File opened in mode x+ -- 271 -- File opened in mode w -- 287 -- File opened in mode wb -- [all …]
|
H A D | fseek_ftell_rewind_basic2.phpt | 77 -- File opened in mode w -- 93 -- File opened in mode wb -- 109 -- File opened in mode wt -- 125 -- File opened in mode w+ -- 173 -- File opened in mode x -- 189 -- File opened in mode xb -- 205 -- File opened in mode xt -- 221 -- File opened in mode x+ -- 271 -- File opened in mode w -- 287 -- File opened in mode wb -- [all …]
|
H A D | filesize_variation4.phpt | 2 Test filesize() function: usage variations - file mode & holes in file 26 echo "-- opening the file in 'w' mode and get the size --\n"; 34 echo "-- opening the file in 'wt' mode and get the size --\n"; 42 echo "-- opening the file in 'a' mode, adding data and checking the file --\n"; 49 echo "-- opening the file in 'at' mode, adding data and checking the file --\n"; 70 echo "-- opening the existing file in write mode --\n"; 92 -- opening the file in 'w' mode and get the size -- 95 -- opening the file in 'wt' mode and get the size -- 98 -- opening the file in 'a' mode, adding data and checking the file -- 100 -- opening the file in 'at' mode, adding data and checking the file -- [all …]
|
H A D | 007_variation13-win32.phpt | 2 Test fopen and fclose() functions - usage variations - "at" mode 12 Prototype: resource fopen(string $filename, string $mode 22 /* Test fopen() and fclose(): Opening the file in "at" mode, 34 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n"; 35 $file_handle = fopen($file, "at"); //opening the file "at" mode 47 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created 55 *** Test fopen() & fclose() functions: with 'at' mode ***
|
H A D | 007_variation13.phpt | 2 Test fopen and fclose() functions - usage variations - "at" mode 12 Prototype: resource fopen(string $filename, string $mode 22 /* Test fopen() and fclose(): Opening the file in "at" mode, 34 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n"; 35 $file_handle = fopen($file, "at"); //opening the file "at" mode 47 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created 55 *** Test fopen() & fclose() functions: with 'at' mode ***
|
H A D | 007_variation21.phpt | 2 Test fopen and fclose() functions - usage variations - "ab" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "ab" mode, 29 echo "*** Test fopen() & fclose() functions: with 'ab' mode ***\n"; 30 $file_handle = fopen($file, "ab"); //opening the file "ab" mode 42 fclose( fopen($file, "ab") ); //Opening the non-existing file in "ab" mode, which will be created 50 *** Test fopen() & fclose() functions: with 'ab' mode ***
|
H A D | 007_variation5.phpt | 2 Test fopen and fclose() functions - usage variations - "a" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "a" mode, 29 echo "*** Test fopen() & fclose() functions: with 'a' mode ***\n"; 30 $file_handle = fopen($file, "a"); //opening the file "a" mode 42 fclose( fopen($file, "a") ); //Opening the non-existing file in "a" mode, which will be created 50 *** Test fopen() & fclose() functions: with 'a' mode ***
|
H A D | fgetc_variation1.phpt | 24 echo "-- File opened in mode : $file_modes[$loop_counter] --\n"; 52 -- File opened in mode : r -- 59 -- File opened in mode : rb -- 66 -- File opened in mode : rt -- 73 -- File opened in mode : r+ -- 80 -- File opened in mode : r+b -- 87 -- File opened in mode : r+t --
|
H A D | 007_variation10.phpt | 2 Test fopen and fclose() functions - usage variations - "r+t" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "r+t" mode, 29 echo "*** Test fopen() & fclose() functions: with 'r+t' mode ***\n"; 30 $file_handle = fopen($file, "r+t"); //opening the file in "r+t" mode 46 *** 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 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "r+b" mode, 29 echo "*** Test fopen() & fclose() functions: with 'r+b' mode ***\n"; 30 $file_handle = fopen($file, "r+b"); //opening the file in "r+b" mode 46 *** Test fopen() & fclose() functions: with 'r+b' mode ***
|
H A D | 007_variation2.phpt | 2 Test fopen and fclose() functions - usage variations - "r+" mode 7 Prototype: resource fopen(string $filename, string $mode 17 /* Test fopen() and fclose(): Opening the file in "r+" mode, 29 echo "*** Test fopen() & fclose() functions: with 'r+' mode ***\n"; 30 $file_handle = fopen($file, "r+"); //opening the file in "r+" mode 46 *** Test fopen() & fclose() functions: with 'r+' mode ***
|
H A D | 007_basic.phpt | 94 -- Iteration with mode 'w' -- 107 -- Iteration with mode 'wb' -- 120 -- Iteration with mode 'wt' -- 133 -- Iteration with mode 'w+' -- 146 -- Iteration with mode 'w+b' -- 172 -- Iteration with mode 'r' -- 185 -- Iteration with mode 'rb' -- 198 -- Iteration with mode 'rt' -- 211 -- Iteration with mode 'r+' -- 250 -- Iteration with mode 'a' -- [all …]
|
H A D | bug76735.phpt | 2 Bug #76735 (Incorrect message in fopen on invalid mode) 8 Warning: fopen(%s): failed to open stream: `Q' is not a valid mode for fopen in %s on line %d
|
H A D | fread_variation3-win32-mb.phpt | 116 -- File opened in mode a+ -- 130 -- File opened in mode a+b -- 144 -- File opened in mode a+t -- 158 -- File opened in mode w+ -- 172 -- File opened in mode w+b -- 186 -- File opened in mode w+t -- 200 -- File opened in mode x+ -- 244 -- File opened in mode a+ -- 286 -- File opened in mode w+ -- 328 -- File opened in mode x+ -- [all …]
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | bug77669.phpt | 6 function test($mode) { 10 extract($foo, $mode, ""); 14 extract($prefix_foo, $mode, "prefix");
|
H A D | sizeof_variation3.phpt | 2 Test sizeof() function : usage variations - checking for infinite recursion in COUNT_RECURSIVE mode 5 /* Prototype : int sizeof($mixed var[, int $mode]) 14 echo "-- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --… 30 -- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --
|
/PHP-7.4/ext/zlib/tests/ |
H A D | deflate_add_basic.phpt | 12 function deflateStream($mode, $flushSize, $flushType) { 15 $resource = deflate_init($mode); 51 foreach ($modes as $modeKey => $mode) { 55 $stream = deflateStream($mode, $flushSize, $flushType);
|
/PHP-7.4/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-7.4/ext/standard/tests/general_functions/ |
H A D | php_uname_basic.phpt | 5 /* Prototype: string php_uname ([ string $mode ] ) 13 echo "\n-- Try all the defined mode's --\n"; 28 -- Try all the defined mode's --
|
H A D | php_uname_error.phpt | 5 /* Prototype: string php_uname ([ string $mode ] ) 14 echo "\n-- Testing php_uname() function with invalid mode --\n"; 15 // am invalid mode should result in same o/p as mode 'a' 40 -- Testing php_uname() function with invalid mode --
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_convert_case_invalid_mode.phpt | 2 Calling mb_convert_case() with an invalid casing mode 12 Warning: mb_convert_case(): Invalid case mode in %s on line %d
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | bug44818.phpt | 5 function test($url, $mode) { 6 echo "$url, $mode\n"; 7 $fd = fopen($url, $mode);
|