Home
last modified time | relevance | path

Searched refs:mode (Results 26 – 50 of 697) sorted by relevance

12345678910>>...28

/PHP-7.4/ext/standard/tests/file/
H A Dfflush_variation1.phpt32 echo "-- File opened in $mode mode --\n";
40 // filling the file with some data if mode is append mode
69 -- File opened in w mode --
73 -- File opened in wb mode --
77 -- File opened in wt mode --
81 -- File opened in w+ mode --
93 -- File opened in a mode --
97 -- File opened in ab mode --
117 -- File opened in x mode --
142 -- File opened in w mode --
[all …]
H A Dfgetcsv_variation18.phpt57 // 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 --
99 -- Testing fgetcsv() with file opened using rb mode --
107 -- Testing fgetcsv() with file opened using rt mode --
115 -- Testing fgetcsv() with file opened using r+ mode --
139 -- Testing fgetcsv() with file opened using a+ mode --
163 -- Testing fgetcsv() with file opened using w+ mode --
187 -- Testing fgetcsv() with file opened using x+ mode --
211 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation1.phpt61 // 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 --
103 -- Testing fgetcsv() with file opened using rb mode --
113 -- Testing fgetcsv() with file opened using rt mode --
123 -- Testing fgetcsv() with file opened using r+ mode --
153 -- Testing fgetcsv() with file opened using a+ mode --
183 -- Testing fgetcsv() with file opened using w+ mode --
213 -- Testing fgetcsv() with file opened using x+ mode --
243 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation2.phpt61 // close the file if the mode to be used is read mode and re-open using read mode
86 } //end of mode loop
94 -- Testing fgetcsv() with file opened using r mode --
104 -- Testing fgetcsv() with file opened using rb mode --
114 -- Testing fgetcsv() with file opened using rt mode --
124 -- Testing fgetcsv() with file opened using r+ mode --
154 -- Testing fgetcsv() with file opened using a+ mode --
184 -- Testing fgetcsv() with file opened using w+ mode --
214 -- Testing fgetcsv() with file opened using x+ mode --
244 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation7.phpt60 // 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 --
103 -- Testing fgetcsv() with file opened using rb mode --
113 -- Testing fgetcsv() with file opened using rt mode --
123 -- Testing fgetcsv() with file opened using r+ mode --
153 -- Testing fgetcsv() with file opened using a+ mode --
183 -- Testing fgetcsv() with file opened using w+ mode --
213 -- Testing fgetcsv() with file opened using x+ mode --
243 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dreadfile_basic-win32.phpt31 foreach($filemodes as $mode) {
32 echo "-- File opened with mode: $mode --\n";
33 if ( strstr($mode, "x") ) {
54 -- File opened with mode: w --
57 -- File opened with mode: wt --
60 -- File opened with mode: wb --
63 -- File opened with mode: w+ --
72 -- File opened with mode: a --
75 -- File opened with mode: at --
90 -- File opened with mode: x --
[all …]
H A Dreadfile_basic.phpt31 foreach($filemodes as $mode) {
32 echo "-- File opened with mode: $mode --\n";
33 if ( strstr($mode, "x") ) {
54 -- File opened with mode: w --
57 -- File opened with mode: wt --
60 -- File opened with mode: wb --
63 -- File opened with mode: w+ --
72 -- File opened with mode: a --
75 -- File opened with mode: at --
90 -- File opened with mode: x --
[all …]
H A Dfgetcsv_variation22.phpt59 // 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 --
97 -- Testing fgetcsv() with file opened using rb mode --
104 -- Testing fgetcsv() with file opened using rt mode --
111 -- Testing fgetcsv() with file opened using r+ mode --
132 -- Testing fgetcsv() with file opened using a+ mode --
153 -- Testing fgetcsv() with file opened using w+ mode --
174 -- Testing fgetcsv() with file opened using x+ mode --
195 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation29.phpt59 // 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 --
98 -- Testing fgetcsv() with file opened using rb mode --
105 -- Testing fgetcsv() with file opened using rt mode --
112 -- Testing fgetcsv() with file opened using r+ mode --
133 -- Testing fgetcsv() with file opened using a+ mode --
154 -- Testing fgetcsv() with file opened using w+ mode --
175 -- Testing fgetcsv() with file opened using x+ mode --
196 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation30.phpt59 // 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 --
97 -- Testing fgetcsv() with file opened using rb mode --
104 -- Testing fgetcsv() with file opened using rt mode --
111 -- Testing fgetcsv() with file opened using r+ mode --
132 -- Testing fgetcsv() with file opened using a+ mode --
153 -- Testing fgetcsv() with file opened using w+ mode --
174 -- Testing fgetcsv() with file opened using x+ mode --
195 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation31.phpt59 // 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 --
99 -- Testing fgetcsv() with file opened using rb mode --
106 -- Testing fgetcsv() with file opened using rt mode --
113 -- Testing fgetcsv() with file opened using r+ mode --
134 -- Testing fgetcsv() with file opened using a+ mode --
155 -- Testing fgetcsv() with file opened using w+ mode --
176 -- Testing fgetcsv() with file opened using x+ mode --
197 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfflush_variation2.phpt32 echo "-- link opened in $mode mode --\n";
39 //fill the file with some data if mode is append mode
71 -- link opened in w mode --
76 -- link opened in wb mode --
81 -- link opened in wt mode --
86 -- link opened in w+ mode --
101 -- link opened in a mode --
106 -- link opened in ab mode --
111 -- link opened in at mode --
132 -- link opened in w mode --
[all …]
H A Dfgetcsv_variation11.phpt61 // close the file if the mode to be used is read mode and re-open using read mode
88 } //end of mode loop
96 -- Testing fgetcsv() with file opened using r mode --
106 -- Testing fgetcsv() with file opened using rb mode --
116 -- Testing fgetcsv() with file opened using rt mode --
126 -- Testing fgetcsv() with file opened using r+ mode --
156 -- Testing fgetcsv() with file opened using a+ mode --
186 -- Testing fgetcsv() with file opened using w+ mode --
216 -- Testing fgetcsv() with file opened using x+ mode --
246 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation15.phpt55 // 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 --
96 -- Testing fgetcsv() with file opened using rb mode --
106 -- Testing fgetcsv() with file opened using rt mode --
116 -- Testing fgetcsv() with file opened using r+ mode --
146 -- Testing fgetcsv() with file opened using a+ mode --
176 -- Testing fgetcsv() with file opened using w+ mode --
206 -- Testing fgetcsv() with file opened using x+ mode --
236 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation16.phpt57 // 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 --
100 -- Testing fgetcsv() with file opened using rb mode --
110 -- Testing fgetcsv() with file opened using rt mode --
120 -- Testing fgetcsv() with file opened using r+ mode --
150 -- Testing fgetcsv() with file opened using a+ mode --
180 -- Testing fgetcsv() with file opened using w+ mode --
210 -- Testing fgetcsv() with file opened using x+ mode --
240 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation10.phpt60 // close the file if the mode to be used is read mode and re-open using read mode
88 } //end of mode loop
96 -- Testing fgetcsv() with file opened using r mode --
106 -- Testing fgetcsv() with file opened using rb mode --
116 -- Testing fgetcsv() with file opened using rt mode --
126 -- Testing fgetcsv() with file opened using r+ mode --
156 -- Testing fgetcsv() with file opened using a+ mode --
186 -- Testing fgetcsv() with file opened using w+ mode --
216 -- Testing fgetcsv() with file opened using x+ mode --
246 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation21.phpt40 // close the file if the mode to be used is read mode and re-open using read mode
65 } //end of mode loop
72 -- Testing fgetcsv() with file opened using r mode --
80 -- Testing fgetcsv() with file opened using rb mode --
88 -- Testing fgetcsv() with file opened using rt mode --
96 -- Testing fgetcsv() with file opened using r+ mode --
104 -- Testing fgetcsv() with file opened using r+b mode --
112 -- Testing fgetcsv() with file opened using r+t mode --
120 -- Testing fgetcsv() with file opened using a+ mode --
144 -- Testing fgetcsv() with file opened using w+ mode --
[all …]
H A Dfgetcsv_variation4.phpt60 // 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 --
100 -- Testing fgetcsv() with file opened using rb mode --
107 -- Testing fgetcsv() with file opened using rt mode --
114 -- Testing fgetcsv() with file opened using r+ mode --
135 -- Testing fgetcsv() with file opened using a+ mode --
156 -- Testing fgetcsv() with file opened using w+ mode --
177 -- Testing fgetcsv() with file opened using x+ mode --
198 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation5.phpt63 // close the file if the mode to be used is read mode and re-open using read mode
87 } //end of mode loop
95 -- Testing fgetcsv() with file opened using r mode --
102 -- Testing fgetcsv() with file opened using rb mode --
109 -- Testing fgetcsv() with file opened using rt mode --
116 -- Testing fgetcsv() with file opened using r+ mode --
137 -- Testing fgetcsv() with file opened using a+ mode --
158 -- Testing fgetcsv() with file opened using w+ mode --
179 -- Testing fgetcsv() with file opened using x+ mode --
200 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation25.phpt64 // close the file if the mode to be used is read mode and re-open using read mode
88 } //end of mode loop
96 -- Testing fgetcsv() with file opened using r mode --
103 -- Testing fgetcsv() with file opened using rb mode --
110 -- Testing fgetcsv() with file opened using rt mode --
117 -- Testing fgetcsv() with file opened using r+ mode --
138 -- Testing fgetcsv() with file opened using a+ mode --
159 -- Testing fgetcsv() with file opened using w+ mode --
180 -- Testing fgetcsv() with file opened using x+ mode --
201 -- Testing fgetcsv() with file opened using r mode --
[all …]
/PHP-7.4/ext/mbstring/tests/
H A Dbug54494.phpt15 $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-7.4/ext/standard/tests/array/
H A Dcount_basic.phpt5 /* Prototype : int count(mixed $var [, int $mode])
12 * and different values as $mode argument.
23 echo "\$mode = COUNT_NORMAL: ";
25 echo "\$mode = 0: ";
27 echo "\$mode = COUNT_RECURSIVE: ";
29 echo "\$mode = 1: ";
41 $mode = COUNT_NORMAL: int(3)
42 $mode = 0: int(3)
43 $mode = COUNT_RECURSIVE: int(6)
44 $mode = 1: int(6)
/PHP-7.4/win32/
H A Dconsole.c30 DWORD mode; in php_win32_console_fileno_is_console() local
31 if (GetConsoleMode(handle, &mode)) { in php_win32_console_fileno_is_console()
48 DWORD mode; in php_win32_console_fileno_has_vt100() local
50 if (GetConsoleMode(handle, &mode)) { in php_win32_console_fileno_has_vt100()
51 if (mode & ENABLE_VIRTUAL_TERMINAL_PROCESSING) { in php_win32_console_fileno_has_vt100()
70 DWORD mode; in php_win32_console_fileno_set_vt100() local
72 if (GetConsoleMode(handle, &mode)) { in php_win32_console_fileno_set_vt100()
76 newMode = mode | ENABLE_VIRTUAL_TERMINAL_PROCESSING; in php_win32_console_fileno_set_vt100()
79 newMode = mode & ~ENABLE_VIRTUAL_TERMINAL_PROCESSING; in php_win32_console_fileno_set_vt100()
81 if (newMode == mode) { in php_win32_console_fileno_set_vt100()
/PHP-7.4/ext/bz2/
H A Dbz2.c61 ZEND_ARG_INFO(0, mode)
248 const char *mode, in _php_stream_bz2open() argument
260 if (mode[0] == '\0' || (mode[0] != 'w' && mode[0] != 'r' && mode[1] != '\0')) { in _php_stream_bz2open()
415 if (mode_len != 1 || (mode[0] != 'r' && mode[0] != 'w')) { in PHP_FUNCTION()
443 …f (stream_mode_len == 1 && stream->mode[0] != 'r' && stream->mode[0] != 'w' && stream->mode[0] != … in PHP_FUNCTION()
448 switch(mode[0]) { in PHP_FUNCTION()
451 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])) { in PHP_FUNCTION()
458 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0]) in PHP_FUNCTION()
459 && stream->mode[0] != 'a' && !(stream_mode_len == 2 && stream->mode[1] != 'a') in PHP_FUNCTION()
460 && stream->mode[0] != 'x' && !(stream_mode_len == 2 && stream->mode[1] != 'x')) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/gd/tests/
H A Dbug79676.phpt21 test(imagescale($src, $size * 2, $size * 2), 'Scale 200%, default mode');
22 test(imagescale($src, $size / 2, $size / 2), 'Scale 50%, default mode');
23 test(imagescale($src, $size * 2, $size * 2, IMG_BICUBIC), 'Scale 200%, IMG_BICUBIC mode');
24 test(imagescale($src, $size / 2, $size / 2, IMG_BICUBIC), 'Scale 50%, IMG_BICUBIC mode');
28 Scale 200%, default mode - Test Result: pass
29 Scale 50%, default mode - Test Result: pass
30 Scale 200%, IMG_BICUBIC mode - Test Result: pass
31 Scale 50%, IMG_BICUBIC mode - Test Result: pass

Completed in 70 milliseconds

12345678910>>...28