Home
last modified time | relevance | path

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

12345678910>>...30

/PHP-5.5/ext/standard/tests/file/
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 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_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_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_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_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 …]
H A Dfgetcsv_variation27.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 …]
H A Dfgetcsv_variation28.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 …]
H A Dfgetcsv_variation3.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 --
101 -- Testing fgetcsv() with file opened using rb mode --
108 -- Testing fgetcsv() with file opened using rt mode --
115 -- Testing fgetcsv() with file opened using r+ mode --
136 -- Testing fgetcsv() with file opened using a+ mode --
157 -- Testing fgetcsv() with file opened using w+ mode --
178 -- Testing fgetcsv() with file opened using x+ mode --
199 -- Testing fgetcsv() with file opened using r 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 …]
/PHP-5.5/ext/spl/examples/
H A Dcallbackfilteriterator.inc23 const USE_VALUE = 2; /**< mode: pass value to callback */
24 const USE_KEY = 3; /**< mode: pass key to callback */
30 private $mode; /**< mode any of USE_VALUE, USE_KEY, USE_BOTH */
39 * @param mode any of USE_VALUE, USE_KEY, USE_BOTH
46 $this->mode = $mode;
58 switch($this->mode) {
97 /** @return operation mode */
100 return $this->mode;
103 /** @param $mode set new mode, @see mode */
104 function setMode($mode)
[all …]
/PHP-5.5/ext/bz2/
H A Dbz2.c62 ZEND_ARG_INFO(0, mode)
213 char *mode, in _php_stream_bz2open() argument
225 if (mode[0] == '\0' || (mode[0] != 'w' && mode[0] != 'r' && mode[1] != '\0')) { in _php_stream_bz2open()
384 if (mode_len != 1 || (mode[0] != 'r' && mode[0] != 'w')) { in PHP_FUNCTION()
402 mode, in PHP_FUNCTION()
416 …f (stream_mode_len == 1 && stream->mode[0] != 'r' && stream->mode[0] != 'w' && stream->mode[0] != … in PHP_FUNCTION()
421 switch(mode[0]) { in PHP_FUNCTION()
424 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0])) { in PHP_FUNCTION()
431 if (stream->mode[0] != mode[0] && !(stream_mode_len == 2 && stream->mode[1] != mode[0]) in PHP_FUNCTION()
432 && stream->mode[0] != 'a' && !(stream_mode_len == 2 && stream->mode[1] != 'a') in PHP_FUNCTION()
[all …]
/PHP-5.5/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-5.5/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)
H A Dsizeof_basic1.phpt23 echo "default mode: ";
26 echo "COUNT_NORMAL mode: ";
29 echo "COUNT_RECURSIVE mode: ";
34 echo "default mode: ";
37 echo "COUNT_NORMAL mode: ";
48 default mode: int(1)
50 COUNT_NORMAL mode: int(1)
52 COUNT_RECURSIVE mode: int(1)
55 default mode: int(1)
57 COUNT_NORMAL mode: int(1)
[all …]
/PHP-5.5/TSRM/
H A Dtsrm_virtual_cwd.h259 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode TSRMLS_CC) argument
263 #define VCWD_CREAT(path, mode) virtual_creat(path, mode TSRMLS_CC) argument
272 #define VCWD_MKDIR(pathname, mode) virtual_mkdir(pathname, mode TSRMLS_CC) argument
276 #define VCWD_ACCESS(pathname, mode) virtual_access(pathname, mode TSRMLS_CC) argument
280 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode TSRMLS_CC) argument
291 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument
293 #define VCWD_OPEN_MODE(path, flags, mode) open(path, flags, mode) argument
294 #define VCWD_CREAT(path, mode) creat(path, mode) argument
308 #define VCWD_MKDIR(pathname, mode) mkdir(pathname, mode) argument
315 #define VCWD_ACCESS(pathname, mode) access(pathname, mode) argument
[all …]

Completed in 68 milliseconds

12345678910>>...30