/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2893 function fgetcsv($stream, ?int $length = null, string $separator = ",", string $enclosure = "\"", s…
|
H A D | basic_functions_arginfo.h | 2670 ZEND_FUNCTION(fgetcsv); 3307 ZEND_FE(fgetcsv, arginfo_fgetcsv)
|
H A D | file.c | 1826 PHP_FUNCTION(fgetcsv) in PHP_FUNCTION() argument
|
/php-src/ext/spl/ |
H A D | spl_directory.c | 2301 PHP_METHOD(SplFileObject, fgetcsv) in PHP_METHOD() argument
|
H A D | spl_directory_arginfo.h | 339 ZEND_METHOD(SplFileObject, fgetcsv); 451 ZEND_ME(SplFileObject, fgetcsv, arginfo_class_SplFileObject_fgetcsv, ZEND_ACC_PUBLIC)
|
H A D | spl_directory.stub.php | 253 …public function fgetcsv(string $separator = ",", string $enclosure = "\"", string $escape = "\\"):… function in SplFileObject
|
/php-src/ext/spl/tests/ |
H A D | gh13685.phpt | 11 echo "--- Directly call fgetcsv ---\n"; 16 while (($data = $file->fgetcsv(',', '"', ''))) { 43 --- Directly call fgetcsv ---
|
/php-src/win32/build/ |
H A D | mkdist.php | 82 while (($line = fgetcsv($pipes[1]))) {
|
/php-src/ext/standard/tests/file/ |
H A D | fgetcsv_variation33.phpt | 2 fgetcsv() with unterminated enclosure at the end of file 12 while (($data = fgetcsv($stream)) !== false) {
|
H A D | fputcsv.phpt | 47 while($l=fgetcsv($fp))
|
H A D | fputcsv_002.phpt | 6 $file = __DIR__ .'/fgetcsv-test.csv'; 19 $file = __DIR__ .'/fgetcsv-test.csv';
|
H A D | fputcsv_variation15.phpt | 49 while($l=fgetcsv($fp, 0, ',', '"', '/'))
|
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_variation32.phpt | 2 fgetcsv() with empty $escape 13 while (($data = fgetcsv($stream, 0, ',', '"', '')) !== false) {
|
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_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_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.phpt | 2 various fgetcsv() functionality tests 30 $file = __DIR__ . '/fgetcsv.csv'; 37 var_dump(fgetcsv(fopen($file, "r"), 1024));
|
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 empty string' . \PHP_EOL; 37 echo 'fgetcsv() with enclosure as empty string' . \PHP_EOL; 46 var_dump( fgetcsv($file_handle, $length, '', '') ); 52 fgetcsv() with negative length 56 fgetcsv() with delimiter as empty string 58 fgetcsv() with enclosure as empty string [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | bug55674.phpt | 2 Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records)
|
H A D | bug65947.phpt | 2 Bug #65947 (basename is no more working after fgetcsv in certain situation)
|
/php-src/ext/standard/tests/general_functions/ |
H A D | 004.phpt | 2 fgetcsv() with tab delimited fields (BUG #8258) 7 while($a=fgetcsv($fp,100,"\t")) {
|