Searched refs:fgetcsv (Results 1 – 25 of 61) sorted by relevance
123
/PHP-7.2/ext/standard/tests/file/ |
H A D | fgetcsv_variation27.phpt | 76 // call fgetcsv() to parse csv fields 79 var_dump( fgetcsv($file_handle, -10, $delimiter) ); 94 *** Testing fgetcsv() : with negative length value *** 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 -- 201 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation28.phpt | 76 // call fgetcsv() to parse csv fields 79 var_dump( fgetcsv($file_handle, -10) ); 94 *** Testing fgetcsv() : with negative length value *** 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 -- 201 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation3.phpt | 2 Test fgetcsv() : usage variations - with delimiter as NULL 12 echo "*** Testing fgetcsv() : with delimiter as NULL ***\n"; 73 // call fgetcsv() to parse csv fields 92 *** Testing fgetcsv() : with delimiter as NULL *** 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 -- [all …]
|
H A D | fgetcsv_variation25.phpt | 76 // call fgetcsv() to parse csv fields 94 *** Testing fgetcsv() : with negative length value *** 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 D | fgetcsv_variation4.phpt | 2 Test fgetcsv() : usage variations - with enclosure as NULL 12 echo "*** Testing fgetcsv() : with enclosure as NULL ***\n"; 72 // call fgetcsv() to parse csv fields 91 *** Testing fgetcsv() : with enclosure as NULL *** 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 -- [all …]
|
H A D | fgetcsv_variation5.phpt | 2 Test fgetcsv() : usage variations - with delimiter & enclosure as NULL 75 // call fgetcsv() to parse csv fields 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 D | fgetcsv_variation19.phpt | 70 // call fgetcsv() to parse csv fields 75 var_dump( fgetcsv($file_handle, 1024, $del) ); 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_variation12.phpt | 71 // call fgetcsv() to parse csv fields 94 -- Testing fgetcsv() with file opened using r mode -- 106 -- Testing fgetcsv() with file opened using rb mode -- 118 -- Testing fgetcsv() with file opened using rt mode -- 130 -- Testing fgetcsv() with file opened using r+ mode -- 166 -- Testing fgetcsv() with file opened using a+ mode -- 202 -- Testing fgetcsv() with file opened using r mode -- 214 -- Testing fgetcsv() with file opened using rb mode -- 226 -- Testing fgetcsv() with file opened using rt mode -- 310 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation26.phpt | 62 // call fgetcsv() to parse csv fields 82 -- Testing fgetcsv() with file opened using w mode -- 87 -- Testing fgetcsv() with file opened using wb mode -- 92 -- Testing fgetcsv() with file opened using wt mode -- 97 -- Testing fgetcsv() with file opened using a mode -- 112 -- Testing fgetcsv() with file opened using x mode -- 127 -- Testing fgetcsv() with file opened using w mode -- 142 -- Testing fgetcsv() with file opened using a mode -- 157 -- Testing fgetcsv() with file opened using x mode -- 172 -- Testing fgetcsv() with file opened using w mode -- [all …]
|
H A D | fgetcsv_variation24.phpt | 73 // call fgetcsv() to parse csv fields 79 var_dump( fgetcsv($file_handle, 1024, $del, $enc) ); 96 -- Testing fgetcsv() with file opened using w+ mode -- 108 -- Testing fgetcsv() with file opened using w+b mode -- 120 -- Testing fgetcsv() with file opened using w+t mode -- 132 -- Testing fgetcsv() with file opened using x+ mode -- 144 -- Testing fgetcsv() with file opened using x+b mode -- 156 -- Testing fgetcsv() with file opened using x+t mode -- 168 -- Testing fgetcsv() with file opened using w+ mode -- 204 -- Testing fgetcsv() with file opened using x+ mode -- [all …]
|
H A D | fgetcsv_variation9.phpt | 12 present in the line being read by the fgetcsv() 75 // call fgetcsv() to parse csv fields 97 -- Testing fgetcsv() with file opened using r mode -- 105 -- Testing fgetcsv() with file opened using rb mode -- 113 -- Testing fgetcsv() with file opened using rt mode -- 121 -- Testing fgetcsv() with file opened using r+ mode -- 145 -- Testing fgetcsv() with file opened using a+ mode -- 169 -- Testing fgetcsv() with file opened using w+ mode -- 193 -- Testing fgetcsv() with file opened using x+ mode -- 217 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation8.phpt | 76 // call fgetcsv() to parse csv fields 99 -- Testing fgetcsv() with file opened using r mode -- 107 -- Testing fgetcsv() with file opened using rb mode -- 115 -- Testing fgetcsv() with file opened using rt mode -- 123 -- Testing fgetcsv() with file opened using r+ mode -- 147 -- Testing fgetcsv() with file opened using a+ mode -- 171 -- Testing fgetcsv() with file opened using w+ mode -- 195 -- Testing fgetcsv() with file opened using x+ mode -- 219 -- Testing fgetcsv() with file opened using r mode -- 227 -- Testing fgetcsv() with file opened using rb mode -- [all …]
|
H A D | fgetcsv_error.phpt | 2 Test fgetcsv() function : error conditions 12 echo "-- Testing fgetcsv() with zero argument --\n"; 13 var_dump( fgetcsv() ); 16 echo "-- Testing fgetcsv() with more than expected number of arguments --\n"; 22 var_dump( fgetcsv($fp, $len, $delim, $enclosure, $escape, $fp) ); 26 echo "-- Testing fgetcsv() with invalid arguments --\n"; 35 /* loop to test fgetcsv() with different invalid type of args */ 45 -- Testing fgetcsv() with zero argument -- 47 Warning: fgetcsv() expects at least 1 parameter, 0 given in %s on line %d 49 -- Testing fgetcsv() with more than expected number of arguments -- [all …]
|
H A D | fgetcsv_variation18.phpt | 69 // call fgetcsv() to parse csv fields 74 var_dump( fgetcsv($file_handle, 1024, $del) ); 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 D | fgetcsv_variation1.phpt | 2 Test fgetcsv() : usage variations - with all parameters specified 73 // call fgetcsv() to parse csv fields 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 D | fgetcsv_variation2.phpt | 2 Test fgetcsv() : usage variations - with length as 0 12 echo "*** Testing fgetcsv() : with length as 0 ***\n"; 73 // call fgetcsv() to parse csv fields 92 *** Testing fgetcsv() : with length as 0 *** 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 -- [all …]
|
H A D | fgetcsv_variation7.phpt | 2 Test fgetcsv() : usage variations - with default arguments value 72 // call fgetcsv() to parse csv fields 76 var_dump( fgetcsv($file_handle) ); 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 -- 243 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation29.phpt | 71 // call fgetcsv() to parse csv fields 75 var_dump( fgetcsv($file_handle) ); 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 D | fgetcsv_variation30.phpt | 70 // call fgetcsv() to parse csv fields 74 var_dump( fgetcsv($file_handle, 1024) ); 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 D | fgetcsv_variation22.phpt | 12 and fgetcsv() provided with default enclosure argument 70 // call fgetcsv() to parse csv fields 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 D | fgetcsv_variation31.phpt | 12 and fgetcsv() provided with enclosure argument 71 // call fgetcsv() to parse csv fields 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 D | fgetcsv_variation11.phpt | 73 // call fgetcsv() to parse csv fields 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 -- 256 -- Testing fgetcsv() with file opened using rb mode -- [all …]
|
H A D | fgetcsv_variation15.phpt | 2 Test fgetcsv() : usage variations - with default enclosure 12 echo "*** Testing fgetcsv() : with default enclosure ***\n"; 67 // call fgetcsv() to parse csv fields 84 *** Testing fgetcsv() : with default enclosure *** 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 -- [all …]
|
H A D | fgetcsv_variation16.phpt | 69 // call fgetcsv() to parse csv fields 73 var_dump( fgetcsv($file_handle, 0, $delimiter) ); 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 D | fgetcsv_variation10.phpt | 2 Test fgetcsv() : usage variations - file pointer pointing to EOF 71 // call fgetcsv() to parse csv fields 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 …]
|
Completed in 86 milliseconds
123