/PHP-8.0/ext/standard/tests/file/ |
H A D | fgetcsv_variation12.phpt | 66 // 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 D | fgetcsv_variation19.phpt | 2 Test fgetcsv() : usage variations - with enclosure of two chars 65 // call fgetcsv() to parse csv fields 71 var_dump( fgetcsv($file_handle, 1024, $del) ); 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 -- 166 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_error_conditions.phpt | 2 Various fgetcsv() error conditions 13 echo 'fgetcsv() with negative length' . \PHP_EOL; 15 var_dump( fgetcsv($file_handle, -10) ); 20 var_dump( fgetcsv($file_handle, -10, $delimiter) ); 30 echo 'fgetcsv() with delimiter as NULL' . \PHP_EOL; 37 echo 'fgetcsv() with enclosure as NULL' . \PHP_EOL; 46 var_dump( fgetcsv($file_handle, $length, NULL, NULL) ); 52 fgetcsv() with negative length 56 fgetcsv() with delimiter as NULL 58 fgetcsv() with enclosure as NULL [all …]
|
H A D | fgetcsv_variation8.phpt | 7 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 D | fgetcsv_variation9.phpt | 11 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 D | fgetcsv_variation18.phpt | 68 // call fgetcsv() to parse csv fields 73 var_dump( fgetcsv($file_handle, 1024, $del) ); 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 | 2 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 D | fgetcsv_variation2.phpt | 2 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 D | fgetcsv_variation7.phpt | 2 Test fgetcsv() : usage variations - with default arguments value 71 // call fgetcsv() to parse csv fields 75 var_dump( fgetcsv($file_handle) ); 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 D | fgetcsv_variation22.phpt | 7 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 D | fgetcsv_variation29.phpt | 66 // call fgetcsv() to parse csv fields 70 var_dump( fgetcsv($file_handle) ); 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 | 7 and fgetcsv() provided with file handle and length arguments 65 // call fgetcsv() to parse csv fields 69 var_dump( fgetcsv($file_handle, 1024) ); 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 -- 190 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation31.phpt | 7 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 D | fgetcsv_variation11.phpt | 68 // 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 D | fgetcsv_variation15.phpt | 2 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 D | fgetcsv_variation16.phpt | 64 // call fgetcsv() to parse csv fields 68 var_dump( fgetcsv($file_handle, 0, $delimiter) ); 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_variation10.phpt | 2 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 D | fgetcsv_variation21.phpt | 47 // call fgetcsv() to parse csv fields 51 var_dump( fgetcsv($file_handle, 1024, '+') ); 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 | fgetcsv_variation14.phpt | 2 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 49 var_dump( fgetcsv($file_handle, 1024) ); 54 var_dump( fgetcsv($file_handle, 1024) ); 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 -- [all …]
|
H A D | fgetcsv_variation23.phpt | 2 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) ); 21 var_dump( fgetcsv($fp, 1024) ); 23 var_dump( fgetcsv($fp, 1024, "+" ) ); 25 var_dump( fgetcsv($fp, 1024, "+", "%") ); 34 *** Testing fgetcsv() : reading from file which is having zero content ***
|
H A D | fgetcsv_variation20.phpt | 47 // call fgetcsv() to parse csv fields 51 var_dump( fgetcsv($file_handle, 1024) ); 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 | fgetcsv_variation13.phpt | 2 Test fgetcsv() : usage variations - with line without any csv fields 48 var_dump( fgetcsv($file_handle) ); 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 D | fgetcsv_variation6.phpt | 2 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 D | fgetcsv_variation17.phpt | 64 // call fgetcsv() to parse csv fields 68 var_dump( fgetcsv($file_handle, 9, $delimiter) ); 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 -- 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 …]
|
/PHP-8.0/ext/spl/tests/ |
H A D | SplFileObject_fgetcsv_delimiter_error.phpt | 2 SplFileObject::fgetcsv with alternative delimiter 16 var_dump($fo->fgetcsv('invalid')); 26 SplFileObject::fgetcsv(): Argument #1 ($separator) must be a single character
|