/PHP-7.4/ |
H A D | NEWS | 1253 . Fixed bug #78976 (SplFileObject::fputcsv returns -1 on failure). (cmb) 1687 . Implemented FR #38301 (field enclosure behavior in fputcsv). (cmb)
|
H A D | UPGRADING | 484 . SplFileObject::fputcsv(), ::fgetcsv() and ::setCsvControl() now accept an 490 . fputcsv() and fgetcsv() now accept an empty string as $escape argument,
|
/PHP-7.4/ext/spl/ |
H A D | spl_directory.c | 2629 SPL_METHOD(SplFileObject, fputcsv) in SPL_METHOD() argument 3099 SPL_ME(SplFileObject, fputcsv, arginfo_file_object_fputcsv, ZEND_ACC_PUBLIC)
|
/PHP-7.4/ext/spl/tests/ |
H A D | SplFileObject_fgetcsv_basic.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_delimiter_basic.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_delimiter_error.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_enclosure_basic.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_enclosure_error.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fputcsv.phpt | 2 SplFileObject::fputcsv(): functionality tests 32 $fo->fputcsv(explode(',', $v));
|
H A D | SplFileObject_fputcsv_002.phpt | 2 SplFileObject::fputcsv(): Checking data after calling the function 9 $fo->fputcsv($data);
|
H A D | SplFileObject_fputcsv_variation1.phpt | 2 Test fputcsv() : usage variations - with all parameters specified 6 /* Testing fputcsv() to write to a file when all its parameters are provided */ 8 echo "*** Testing fputcsv() : with all parameters specified ***\n"; 50 var_dump( $fo->fputcsv($csv_field, $delimiter, $enclosure) ); 68 *** Testing fputcsv() : with all parameters specified ***
|
H A D | SplFileObject_fputcsv_variation10.phpt | 2 SplFileObject::fputcsv(): Usage variations -- with line without any CSV fields 6 /* Testing fputcsv() to write to a file when the field has no CSV format */ 8 echo "*** Testing fputcsv() : with no CSV format in the field ***\n"; 42 var_dump( $fo->fputcsv($csv_field) ); 61 *** Testing fputcsv() : with no CSV format in the field ***
|
H A D | SplFileObject_fputcsv_variation11.phpt | 2 SplFileObject::fputcsv(): Usage variations -- with default enclosure value 6 /* Testing fputcsv() to write to a file when default enclosure value is provided */ 8 echo "*** Testing fputcsv() : with default enclosure value ***\n"; 50 var_dump( $fo->fputcsv($csv_field, $delimiter) ); 68 *** Testing fputcsv() : with default enclosure value ***
|
H A D | SplFileObject_fputcsv_variation12.phpt | 2 SplFileObject::fputcsv(): Usage variations -- with default enclosure and different delimiter 6 /* Testing fputcsv() to write to a file when default enclosure value and delimiter value 9 echo "*** Testing fputcsv() : with default enclosure and different delimiter value ***\n"; 51 var_dump( $fo->fputcsv($csv_field, '+') ); 69 *** Testing fputcsv() : with default enclosure and different delimiter value ***
|
H A D | SplFileObject_fputcsv_variation13.phpt | 2 Test fputcsv() : usage variations - with default enclosure & delimiter of two chars 6 /* Testing fputcsv() to write to a file when default enclosure value and delimiter 9 echo "*** Testing fputcsv() : with default enclosure & delimiter of two chars ***\n"; 13 var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '"')); 25 *** Testing fputcsv() : with default enclosure & delimiter of two chars *** 27 Warning: SplFileObject::fputcsv(): delimiter must be a character in %s on line %d
|
H A D | SplFileObject_fputcsv_variation14.phpt | 2 Test fputcsv() : usage variations - with enclosure & delimiter of two chars 6 /* Testing fputcsv() to write to a file when default enclosure value and delimiter 9 echo "*** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode … 13 var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '""')); 25 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode *** 27 Warning: SplFileObject::fputcsv(): enclosure must be a character in %s on line %d
|
H A D | SplFileObject_fputcsv_variation15.phpt | 2 SplFileObject::fputcsv() with empty $escape 11 $file->fputcsv($record, ',', '"', '');
|
H A D | SplFileObject_fputcsv_variation5.phpt | 2 Test fputcsv() : usage variations - with default arguments value 6 /* Testing fputcsv() to write to a file when default arguments values are considered */ 8 echo "*** Testing fputcsv() : with default arguments value ***\n"; 50 var_dump( $fo->fputcsv($csv_field) ); 68 *** Testing fputcsv() : with default arguments value ***
|
H A D | SplFileObject_fputcsv_variation6.phpt | 2 Test fputcsv() : usage variations - with different delimiter and enclosure 7 Testing fputcsv() to write to a file when delimiter are different from those 11 echo "*** Testing fputcsv() : with different delimiter and enclosure ***\n"; 53 var_dump( $fo->fputcsv($csv_field, '+', '%') ); 71 *** Testing fputcsv() : with different delimiter and enclosure ***
|
H A D | SplFileObject_fputcsv_variation7.phpt | 2 Test fputcsv() : usage variations - with different delimiter and same enclosure 7 Testing fputcsv() to write to a file when enclosure is same but delimiter is different from those 11 echo "*** Testing fputcsv() : with different delimiter and same enclosure ***\n"; 53 var_dump( $fo->fputcsv($csv_field, '+', $enclosure) ); 71 *** Testing fputcsv() : with different delimiter and same enclosure ***
|
H A D | SplFileObject_fputcsv_variation8.phpt | 2 Test fputcsv() : usage variations - with same delimiter and different enclosure 7 Testing fputcsv() to write to a file when delimiter is same but enclosure is different from those 11 echo "*** Testing fputcsv() : with same delimiter and different enclosure ***\n"; 53 var_dump( $fo->fputcsv($csv_field, $delimiter, '+') ); 71 *** Testing fputcsv() : with same delimiter and different enclosure ***
|
H A D | bug68479.phpt | 2 Bug #68479 (Escape parameter missing from SplFileObject::fputcsv) 6 $method = new ReflectionMethod('SplFileObject', 'fputcsv');
|
H A D | bug77024.phpt | 7 $file->fputcsv(['foo', 'bar', 'baz']);
|
H A D | bug78976.phpt | 2 Bug #78976 (SplFileObject::fputcsv returns -1 on failure) 6 var_dump($file->fputcsv(['foo', 'bar']));
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 3184 PHP_FE(fputcsv, arginfo_fputcsv)
|