/PHP-8.2/ext/standard/tests/file/ |
H A D | fgetcsv_variation18.phpt | 56 // close the file if the mode to be used is read mode and re-open using read mode 82 } //end of mode loop 90 -- Testing fgetcsv() with file opened using r mode -- 98 -- Testing fgetcsv() with file opened using rb mode -- 106 -- Testing fgetcsv() with file opened using rt mode -- 114 -- Testing fgetcsv() with file opened using r+ mode -- 138 -- Testing fgetcsv() with file opened using a+ mode -- 162 -- Testing fgetcsv() with file opened using w+ mode -- 186 -- Testing fgetcsv() with file opened using x+ mode -- 210 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation1.phpt | 60 // close the file if the mode to be used is read mode and re-open using read mode 84 } //end of mode loop 92 -- Testing fgetcsv() with file opened using r mode -- 102 -- Testing fgetcsv() with file opened using rb mode -- 112 -- Testing fgetcsv() with file opened using rt mode -- 122 -- Testing fgetcsv() with file opened using r+ mode -- 152 -- Testing fgetcsv() with file opened using a+ mode -- 182 -- Testing fgetcsv() with file opened using w+ mode -- 212 -- Testing fgetcsv() with file opened using x+ mode -- 242 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation2.phpt | 56 // close the file if the mode to be used is read mode and re-open using read mode 81 } //end of mode loop 89 -- Testing fgetcsv() with file opened using r mode -- 99 -- Testing fgetcsv() with file opened using rb mode -- 109 -- Testing fgetcsv() with file opened using rt mode -- 119 -- Testing fgetcsv() with file opened using r+ mode -- 149 -- Testing fgetcsv() with file opened using a+ mode -- 179 -- Testing fgetcsv() with file opened using w+ mode -- 209 -- Testing fgetcsv() with file opened using x+ mode -- 239 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation7.phpt | 59 // close the file if the mode to be used is read mode and re-open using read mode 84 } //end of mode loop 92 -- Testing fgetcsv() with file opened using r mode -- 102 -- Testing fgetcsv() with file opened using rb mode -- 112 -- Testing fgetcsv() with file opened using rt mode -- 122 -- Testing fgetcsv() with file opened using r+ mode -- 152 -- Testing fgetcsv() with file opened using a+ mode -- 182 -- Testing fgetcsv() with file opened using w+ mode -- 212 -- Testing fgetcsv() with file opened using x+ mode -- 242 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | readfile_basic-win32.phpt | 28 foreach($filemodes as $mode) { 29 echo "-- File opened with mode: $mode --\n"; 30 if ( strstr($mode, "x") ) { 51 -- File opened with mode: w -- 54 -- File opened with mode: wt -- 57 -- File opened with mode: wb -- 60 -- File opened with mode: w+ -- 69 -- File opened with mode: a -- 72 -- File opened with mode: at -- 87 -- File opened with mode: x -- [all …]
|
H A D | readfile_basic.phpt | 28 foreach($filemodes as $mode) { 29 echo "-- File opened with mode: $mode --\n"; 30 if ( strstr($mode, "x") ) { 51 -- File opened with mode: w -- 54 -- File opened with mode: wt -- 57 -- File opened with mode: wb -- 60 -- File opened with mode: w+ -- 69 -- File opened with mode: a -- 72 -- File opened with mode: at -- 87 -- File opened with mode: x -- [all …]
|
H A D | fgetcsv_variation22.phpt | 54 // close the file if the mode to be used is read mode and re-open using read mode 77 } //end of mode loop 85 -- Testing fgetcsv() with file opened using r mode -- 92 -- Testing fgetcsv() with file opened using rb mode -- 99 -- Testing fgetcsv() with file opened using rt mode -- 106 -- Testing fgetcsv() with file opened using r+ mode -- 127 -- Testing fgetcsv() with file opened using a+ mode -- 148 -- Testing fgetcsv() with file opened using w+ mode -- 169 -- Testing fgetcsv() with file opened using x+ mode -- 190 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation29.phpt | 54 // close the file if the mode to be used is read mode and re-open using read mode 78 } //end of mode loop 86 -- Testing fgetcsv() with file opened using r mode -- 93 -- Testing fgetcsv() with file opened using rb mode -- 100 -- Testing fgetcsv() with file opened using rt mode -- 107 -- Testing fgetcsv() with file opened using r+ mode -- 128 -- Testing fgetcsv() with file opened using a+ mode -- 149 -- Testing fgetcsv() with file opened using w+ mode -- 170 -- Testing fgetcsv() with file opened using x+ mode -- 191 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation30.phpt | 54 // close the file if the mode to be used is read mode and re-open using read mode 77 } //end of mode loop 85 -- Testing fgetcsv() with file opened using r mode -- 92 -- Testing fgetcsv() with file opened using rb mode -- 99 -- Testing fgetcsv() with file opened using rt mode -- 106 -- Testing fgetcsv() with file opened using r+ mode -- 127 -- Testing fgetcsv() with file opened using a+ mode -- 148 -- Testing fgetcsv() with file opened using w+ mode -- 169 -- Testing fgetcsv() with file opened using x+ mode -- 190 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation31.phpt | 54 // close the file if the mode to be used is read mode and re-open using read mode 79 } //end of mode loop 87 -- Testing fgetcsv() with file opened using r mode -- 94 -- Testing fgetcsv() with file opened using rb mode -- 101 -- Testing fgetcsv() with file opened using rt mode -- 108 -- Testing fgetcsv() with file opened using r+ mode -- 129 -- Testing fgetcsv() with file opened using a+ mode -- 150 -- Testing fgetcsv() with file opened using w+ mode -- 171 -- Testing fgetcsv() with file opened using x+ mode -- 192 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fflush_variation2.phpt | 29 echo "-- link opened in $mode mode --\n"; 36 //fill the file with some data if mode is append mode 68 -- link opened in w mode -- 73 -- link opened in wb mode -- 78 -- link opened in wt mode -- 83 -- link opened in w+ mode -- 98 -- link opened in a mode -- 103 -- link opened in ab mode -- 108 -- link opened in at mode -- 129 -- link opened in w mode -- [all …]
|
H A D | fgetcsv_variation11.phpt | 56 // close the file if the mode to be used is read mode and re-open using read mode 83 } //end of mode loop 91 -- Testing fgetcsv() with file opened using r mode -- 101 -- Testing fgetcsv() with file opened using rb mode -- 111 -- Testing fgetcsv() with file opened using rt mode -- 121 -- Testing fgetcsv() with file opened using r+ mode -- 151 -- Testing fgetcsv() with file opened using a+ mode -- 181 -- Testing fgetcsv() with file opened using w+ mode -- 211 -- Testing fgetcsv() with file opened using x+ mode -- 241 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation15.phpt | 50 // close the file if the mode to be used is read mode and re-open using read mode 73 } //end of mode loop 81 -- Testing fgetcsv() with file opened using r mode -- 91 -- Testing fgetcsv() with file opened using rb mode -- 101 -- Testing fgetcsv() with file opened using rt mode -- 111 -- Testing fgetcsv() with file opened using r+ mode -- 141 -- Testing fgetcsv() with file opened using a+ mode -- 171 -- Testing fgetcsv() with file opened using w+ mode -- 201 -- Testing fgetcsv() with file opened using x+ mode -- 231 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation16.phpt | 52 // close the file if the mode to be used is read mode and re-open using read mode 77 } //end of mode loop 85 -- Testing fgetcsv() with file opened using r mode -- 95 -- Testing fgetcsv() with file opened using rb mode -- 105 -- Testing fgetcsv() with file opened using rt mode -- 115 -- Testing fgetcsv() with file opened using r+ mode -- 145 -- Testing fgetcsv() with file opened using a+ mode -- 175 -- Testing fgetcsv() with file opened using w+ mode -- 205 -- Testing fgetcsv() with file opened using x+ mode -- 235 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation12.phpt | 54 // close the file if the mode to be used is read mode and re-open using read mode 85 } //end of mode loop 93 -- Testing fgetcsv() with file opened using r mode -- 98 -- Testing fgetcsv() with file opened using rb mode -- 103 -- Testing fgetcsv() with file opened using rt mode -- 108 -- Testing fgetcsv() with file opened using r+ mode -- 123 -- Testing fgetcsv() with file opened using a+ mode -- 138 -- Testing fgetcsv() with file opened using r mode -- 143 -- Testing fgetcsv() with file opened using rb mode -- 183 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation10.phpt | 55 // close the file if the mode to be used is read mode and re-open using read mode 83 } //end of mode loop 91 -- Testing fgetcsv() with file opened using r mode -- 101 -- Testing fgetcsv() with file opened using rb mode -- 111 -- Testing fgetcsv() with file opened using rt mode -- 121 -- Testing fgetcsv() with file opened using r+ mode -- 151 -- Testing fgetcsv() with file opened using a+ mode -- 181 -- Testing fgetcsv() with file opened using w+ mode -- 211 -- Testing fgetcsv() with file opened using x+ mode -- 241 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation19.phpt | 53 // close the file if the mode to be used is read mode and re-open using read mode 83 } //end of mode loop 91 -- Testing fgetcsv() with file opened using r mode -- 96 -- Testing fgetcsv() with file opened using rb mode -- 101 -- Testing fgetcsv() with file opened using rt mode -- 106 -- Testing fgetcsv() with file opened using r+ mode -- 121 -- Testing fgetcsv() with file opened using a+ mode -- 136 -- Testing fgetcsv() with file opened using w+ mode -- 151 -- Testing fgetcsv() with file opened using x+ mode -- 166 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation21.phpt | 35 // close the file if the mode to be used is read mode and re-open using read mode 60 } //end of mode loop 67 -- Testing fgetcsv() with file opened using r mode -- 75 -- Testing fgetcsv() with file opened using rb mode -- 83 -- Testing fgetcsv() with file opened using rt mode -- 91 -- Testing fgetcsv() with file opened using r+ mode -- 99 -- Testing fgetcsv() with file opened using r+b mode -- 107 -- Testing fgetcsv() with file opened using r+t mode -- 115 -- Testing fgetcsv() with file opened using a+ mode -- 139 -- Testing fgetcsv() with file opened using w+ mode -- [all …]
|
H A D | fflush_variation4.phpt | 2 Test fflush() function: usage variations - file opened in read-only mode 6 /* test fflush() with handle to a file opened in read-only mode as resource */ 18 foreach( $file_modes as $mode ) { 19 echo "-- Iteration $count with file opened in $mode mode --\n"; 28 $file_handle = fopen($file_name, $mode); 42 -- Iteration 1 with file opened in r mode -- 44 -- Iteration 2 with file opened in rb mode -- 46 -- Iteration 3 with file opened in rt mode --
|
/PHP-8.2/ext/mbstring/tests/ |
H A D | bug54494.phpt | 15 $mode = "UTF-32LE"; 17 echo "$mode:\n"; 19 $string = mb_convert_encoding($stringOr, $mode); 20 $length = mb_strlen($string, $mode); 25 $t = unpack("H*",mb_substr($string, $i, 1, $mode)); 31 $mode = "UCS-2LE"; 33 echo "$mode:\n"; 35 $string = mb_convert_encoding($stringOr, $mode); 36 $length = mb_strlen($string, $mode); 41 $t = unpack("H*",mb_substr($string, $i, 1, $mode));
|
/PHP-8.2/ext/bz2/ |
H A D | bz2.c | 180 const char *mode, in _php_stream_bz2open() argument 192 if (mode[0] == '\0' || (mode[0] != 'w' && mode[0] != 'r' && mode[1] != '\0')) { in _php_stream_bz2open() 210 bz_file = BZ2_bzopen(path_copy, mode); in _php_stream_bz2open() 345 if (mode_len != 1 || (mode[0] != 'r' && mode[0] != 'w')) { in PHP_FUNCTION() 374 …f (stream_mode_len == 1 && stream->mode[0] != 'r' && stream->mode[0] != 'w' && stream->mode[0] != … in PHP_FUNCTION() 379 switch(mode[0]) { in PHP_FUNCTION() 382 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])) { in PHP_FUNCTION() 389 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0]) in PHP_FUNCTION() 390 && stream->mode[0] != 'a' && !(stream_mode_len == 2 && stream->mode[1] != 'a') in PHP_FUNCTION() 391 && stream->mode[0] != 'x' && !(stream_mode_len == 2 && stream->mode[1] != 'x')) { in PHP_FUNCTION() [all …]
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | count_basic.phpt | 7 * and different values as $mode argument. 18 echo "\$mode = COUNT_NORMAL: "; 20 echo "\$mode = 0: "; 22 echo "\$mode = COUNT_RECURSIVE: "; 24 echo "\$mode = 1: "; 36 $mode = COUNT_NORMAL: int(3) 37 $mode = 0: int(3) 38 $mode = COUNT_RECURSIVE: int(6) 39 $mode = 1: int(6)
|
/PHP-8.2/win32/ |
H A D | console.c | 28 DWORD mode; in php_win32_console_fileno_is_console() local 29 if (GetConsoleMode(handle, &mode)) { in php_win32_console_fileno_is_console() 46 DWORD mode; in php_win32_console_fileno_has_vt100() local 48 if (GetConsoleMode(handle, &mode)) { in php_win32_console_fileno_has_vt100() 49 if (mode & ENABLE_VIRTUAL_TERMINAL_PROCESSING) { in php_win32_console_fileno_has_vt100() 68 DWORD mode; in php_win32_console_fileno_set_vt100() local 70 if (GetConsoleMode(handle, &mode)) { in php_win32_console_fileno_set_vt100() 74 newMode = mode | ENABLE_VIRTUAL_TERMINAL_PROCESSING; in php_win32_console_fileno_set_vt100() 77 newMode = mode & ~ENABLE_VIRTUAL_TERMINAL_PROCESSING; in php_win32_console_fileno_set_vt100() 79 if (newMode == mode) { in php_win32_console_fileno_set_vt100()
|
/PHP-8.2/ext/gd/tests/ |
H A D | bug79676.phpt | 19 test(imagescale($src, $size * 2, $size * 2), 'Scale 200%, default mode'); 20 test(imagescale($src, $size / 2, $size / 2), 'Scale 50%, default mode'); 21 test(imagescale($src, $size * 2, $size * 2, IMG_BICUBIC), 'Scale 200%, IMG_BICUBIC mode'); 22 test(imagescale($src, $size / 2, $size / 2, IMG_BICUBIC), 'Scale 50%, IMG_BICUBIC mode'); 26 Scale 200%, default mode - Test Result: pass 27 Scale 50%, default mode - Test Result: pass 28 Scale 200%, IMG_BICUBIC mode - Test Result: pass 29 Scale 50%, IMG_BICUBIC mode - Test Result: pass
|
/PHP-8.2/ext/zlib/tests/ |
H A D | gzopen_variation9.phpt | 13 foreach ($modes as $mode) { 14 echo "mode=$mode\n"; 15 $h = gzopen($file, $mode); 26 mode=r+ 31 mode=rf 34 mode=w+ 39 mode=e
|