Home
last modified time | relevance | path

Searched refs:fgetcsv (Results 1 – 25 of 67) sorted by relevance

123

/PHP-8.4/ext/standard/tests/file/
H A Dfgetcsv_variation12.phpt66 // call fgetcsv() to parse csv fields
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 --
148 -- Testing fgetcsv() with file opened using rt mode --
183 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation19.phpt2 Test fgetcsv() : usage variations - with enclosure of two chars
65 // call fgetcsv() to parse csv fields
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 Dfgetcsv_error_conditions.phpt2 Various fgetcsv() error conditions
13 echo 'fgetcsv() with negative length' . \PHP_EOL;
15 var_dump( fgetcsv($file_handle, -10, escape: "\\") );
30 echo 'fgetcsv() with delimiter as empty string' . \PHP_EOL;
52 fgetcsv() with negative length
53 fgetcsv(): Argument #2 ($length) must be between 0 and %d
54 fgetcsv(): Argument #2 ($length) must be between 0 and %d
55 fgetcsv(): Argument #2 ($length) must be between 0 and %d
56 fgetcsv() with delimiter as empty string
58 fgetcsv() with enclosure as empty string
[all …]
H A Dfgetcsv_variation8.phpt7 enclosure that are not present in the line read by fgetcsv()
71 // call fgetcsv() to parse csv fields
94 -- Testing fgetcsv() with file opened using r mode --
102 -- Testing fgetcsv() with file opened using rb mode --
110 -- Testing fgetcsv() with file opened using rt mode --
118 -- Testing fgetcsv() with file opened using r+ mode --
142 -- Testing fgetcsv() with file opened using a+ mode --
166 -- Testing fgetcsv() with file opened using w+ mode --
190 -- Testing fgetcsv() with file opened using x+ mode --
214 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation9.phpt11 present in the line being read by the fgetcsv()
74 // call fgetcsv() to parse csv fields
96 -- Testing fgetcsv() with file opened using r mode --
104 -- Testing fgetcsv() with file opened using rb mode --
112 -- Testing fgetcsv() with file opened using rt mode --
120 -- Testing fgetcsv() with file opened using r+ mode --
144 -- Testing fgetcsv() with file opened using a+ mode --
168 -- Testing fgetcsv() with file opened using w+ mode --
192 -- Testing fgetcsv() with file opened using x+ mode --
216 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation18.phpt68 // call fgetcsv() to parse csv fields
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 --
218 -- Testing fgetcsv() with file opened using rb mode --
[all …]
H A Dfgetcsv_variation1.phpt2 Test fgetcsv() : usage variations - with all parameters specified
72 // call fgetcsv() to parse csv fields
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 Dfgetcsv_variation2.phpt2 Test fgetcsv() : usage variations - with length as 0
7 echo "*** Testing fgetcsv() : with length as 0 ***\n";
68 // call fgetcsv() to parse csv fields
87 *** Testing fgetcsv() : with length as 0 ***
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 --
[all …]
H A Dfgetcsv_variation7.phpt2 Test fgetcsv() : usage variations - with default arguments value
71 // call fgetcsv() to parse csv fields
75 var_dump( fgetcsv($file_handle, escape: "\\") );
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 --
242 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation22.phpt7 and fgetcsv() provided with default enclosure argument
65 // call fgetcsv() to parse csv fields
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 Dfgetcsv_variation29.phpt66 // call fgetcsv() to parse csv fields
70 var_dump( fgetcsv($file_handle, escape: "\\") );
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 Dfgetcsv_variation30.phpt7 and fgetcsv() provided with file handle and length arguments
65 // call fgetcsv() to parse csv fields
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 Dfgetcsv_variation31.phpt7 and fgetcsv() provided with enclosure argument
66 // call fgetcsv() to parse csv fields
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 Dfgetcsv_variation11.phpt68 // call fgetcsv() to parse csv fields
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 --
251 -- Testing fgetcsv() with file opened using rb mode --
[all …]
H A Dfgetcsv_variation15.phpt2 Test fgetcsv() : usage variations - with default enclosure
7 echo "*** Testing fgetcsv() : with default enclosure ***\n";
62 // call fgetcsv() to parse csv fields
79 *** Testing fgetcsv() : with default enclosure ***
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 --
[all …]
H A Dfgetcsv_variation16.phpt64 // call fgetcsv() to parse csv fields
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 --
245 -- Testing fgetcsv() with file opened using rb mode --
[all …]
H A Dfgetcsv_variation10.phpt2 Test fgetcsv() : usage variations - file pointer pointing to EOF
66 // call fgetcsv() to parse csv fields
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 Dfgetcsv_variation21.phpt2 Test fgetcsv() : usage variations - with default enclosure, blank line
47 // call fgetcsv() to parse csv fields
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 Dfgetcsv_variation14.phpt2 Test fgetcsv() : usage variations - reading the blank line
5 /* Testing fgetcsv() by reading a file containing a blank line */
7 echo "*** Testing fgetcsv() : reading the blank line ***\n";
45 // call fgetcsv() to parse csv fields
68 *** Testing fgetcsv() : reading the blank line ***
70 -- Testing fgetcsv() with file opened using r mode --
81 -- Testing fgetcsv() with file opened using rb mode --
92 -- Testing fgetcsv() with file opened using rt mode --
103 -- Testing fgetcsv() with file opened using r+ mode --
136 -- Testing fgetcsv() with file opened using a+ mode --
[all …]
H A Dfgetcsv_variation20.phpt47 // call fgetcsv() to parse csv fields
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 --
123 -- Testing fgetcsv() with file opened using a+b mode --
139 -- Testing fgetcsv() with file opened using w+ mode --
[all …]
H A Dfgetcsv_variation13.phpt2 Test fgetcsv() : usage variations - with line without any csv fields
48 var_dump( fgetcsv($file_handle, escape: "\\") );
64 -- Testing fgetcsv() with file opened using r mode --
72 -- Testing fgetcsv() with file opened using rb mode --
80 -- Testing fgetcsv() with file opened using rt mode --
88 -- Testing fgetcsv() with file opened using r+ mode --
96 -- Testing fgetcsv() with file opened using r+b mode --
104 -- Testing fgetcsv() with file opened using r+t mode --
112 -- Testing fgetcsv() with file opened using a+ mode --
136 -- Testing fgetcsv() with file opened using w+ mode --
[all …]
H A Dfgetcsv_variation6.phpt2 Test fgetcsv() : usage variations - with length less than line size
70 // call fgetcsv() to parse csv fields
96 -- Testing fgetcsv() with file opened using r mode --
112 -- Testing fgetcsv() with file opened using rb mode --
128 -- Testing fgetcsv() with file opened using rt mode --
144 -- Testing fgetcsv() with file opened using r+ mode --
192 -- Testing fgetcsv() with file opened using a+ mode --
240 -- Testing fgetcsv() with file opened using w+ mode --
288 -- Testing fgetcsv() with file opened using x+ mode --
336 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation23.phpt2 Test fgetcsv() : usage variations - empty file
5 /* Testing fgetcsv() to read from an empty file */
7 echo "*** Testing fgetcsv() : reading from file which is having zero content ***\n";
19 var_dump( fgetcsv($fp, escape: "\\") );
21 var_dump( fgetcsv($fp, 1024, escape: "\\") );
23 var_dump( fgetcsv($fp, 1024, "+", escape: "\\" ) );
25 var_dump( fgetcsv($fp, 1024, "+", "%", escape: "\\") );
34 *** Testing fgetcsv() : reading from file which is having zero content ***
H A Dfgetcsv_variation17.phpt64 // call fgetcsv() to parse csv fields
91 -- Testing fgetcsv() with file opened using r mode --
107 -- Testing fgetcsv() with file opened using rb mode --
123 -- Testing fgetcsv() with file opened using rt mode --
139 -- Testing fgetcsv() with file opened using r+ mode --
155 -- Testing fgetcsv() with file opened using r+b mode --
187 -- Testing fgetcsv() with file opened using a+ mode --
235 -- Testing fgetcsv() with file opened using w+ mode --
283 -- Testing fgetcsv() with file opened using x+ mode --
331 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dgh15653.phpt2 GH-15653 (fgetcsv overflow on length argument)
10 fgetcsv($fp, PHP_INT_MAX, escape: '');
15 fgetcsv($fp, PHP_INT_MAX-1, escape: '');
21 fgetcsv(): Argument #2 ($length) must be between 0 and %d

Completed in 75 milliseconds

123