Home
last modified time | relevance | path

Searched refs:fgetcsv (Results 1 – 25 of 63) sorted by path

123

/PHP-7.4/
H A DNEWS1688 . Implemented FR #51496 (fgetcsv should take empty string as an escape). (cmb)
H A DUPGRADING484 . SplFileObject::fputcsv(), ::fgetcsv() and ::setCsvControl() now accept an
490 . fputcsv() and fgetcsv() now accept an empty string as $escape argument,
/PHP-7.4/ext/phar/tests/
H A Dphar_oo_008.phpt36 return parent::fgetcsv(',', '"');
46 echo $v->key() . "=>" . join('|',$v->fgetcsv()) . "\n";
53 $l = $v->fgetcsv();
68 return parent::fgetcsv(',', '"');
/PHP-7.4/ext/spl/
H A Dspl_directory.c2577 SPL_METHOD(SplFileObject, fgetcsv) in SPL_METHOD() argument
3098 SPL_ME(SplFileObject, fgetcsv, arginfo_file_object_fgetcsv, ZEND_ACC_PUBLIC)
/PHP-7.4/ext/spl/tests/
H A DSplFileObject_fgetcsv_basic.phpt2 SplFileObject::fgetcsv default path
15 var_dump($fo->fgetcsv());
H A DSplFileObject_fgetcsv_delimiter_basic.phpt2 SplFileObject::fgetcsv with alternative delimiter
15 var_dump($fo->fgetcsv('|'));
H A DSplFileObject_fgetcsv_delimiter_error.phpt2 SplFileObject::fgetcsv with alternative delimiter
15 var_dump($fo->fgetcsv('invalid'));
22 Warning: SplFileObject::fgetcsv(): delimiter must be a character in %s on line %d
H A DSplFileObject_fgetcsv_enclosure_basic.phpt2 SplFileObject::fgetcsv with alternative delimiter
15 var_dump($fo->fgetcsv(',', '"'));
H A DSplFileObject_fgetcsv_enclosure_error.phpt2 SplFileObject::fgetcsv with alternative delimiter
15 var_dump($fo->fgetcsv(',', 'invalid'));
22 Warning: SplFileObject::fgetcsv(): enclosure must be a character in %s on line %d
H A DSplFileObject_fgetcsv_escape_basic.phpt2 SplFileObject::fgetcsv with alternative delimiter
10 var_dump($fo->fgetcsv(',', '"', '"'));
H A DSplFileObject_fgetcsv_escape_default.phpt2 SplFileObject::fgetcsv with default escape character
10 var_dump($fo->fgetcsv());
H A DSplFileObject_fgetcsv_escape_empty.phpt2 SplFileObject::fgetcsv() with empty $escape
13 while (($data = $file->fgetcsv(',', '"', ''))) {
H A DSplFileObject_fgetcsv_escape_error.phpt2 SplFileObject::fgetcsv with alternative delimiter
10 var_dump($fo->fgetcsv(',', '"', 'invalid'));
17 Warning: SplFileObject::fgetcsv(): escape must be empty or a single character in %s on line %d
H A DSplFileObject_fputcsv.phpt45 while($l=fgetcsv($fp))
/PHP-7.4/ext/standard/
H A Dbasic_functions.c3183 PHP_FE(fgetcsv, arginfo_fgetcsv)
H A Dfile.c1983 PHP_FUNCTION(fgetcsv) in PHP_FUNCTION() argument
H A Dfile.h39 PHP_FUNCTION(fgetcsv);
/PHP-7.4/ext/standard/tests/file/
H A Dbug12556.phpt2 Bug #12556 (fgetcsv() ignores lengths when quotes not closed)
6 while($line = fgetcsv($fp, 24)) {
H A Dbug22382.phpt2 Bug #22382 (fgetcsv() does not handle escaped quotes correctly)
6 while(($line = fgetcsv($fp, 1024))) {
H A Dbug26003.phpt2 Bug #26003 (fgetcsv() is not binary-safe)
6 var_dump(fgetcsv($fp, 4096));
H A Dbug39538.phpt2 Bug #39538 (fgetcsv can't handle starting newlines and trailing odd number of backslashes)
11 print_r (fgetcsv(fopen($file, "r"), filesize($file)));
H A Dbug40501.phpt2 Bug #40501 (fgetcsv() can't handle trailing odd number of backslashes)
8 $data = fgetcsv($h, NULL, ',', '"', '"');
H A Dbug53848.phpt2 Bug #53848 (fgetcsv removes leading spaces from fields)
9 while ($l = fgetcsv($fp)) var_dump($l);
H A Dfgetcsv.phpt2 various fgetcsv() functionality tests
28 $file = __DIR__ . '/fgetcsv.csv';
35 var_dump(fgetcsv(fopen($file, "r"), 1024));
H A Dfgetcsv_variation1.phpt2 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 …]

Completed in 80 milliseconds

123