Home
last modified time | relevance | path

Searched refs:fputcsv (Results 1 – 25 of 45) sorted by path

12

/PHP-7.4/
H A DNEWS1253 . Fixed bug #78976 (SplFileObject::fputcsv returns -1 on failure). (cmb)
1687 . Implemented FR #38301 (field enclosure behavior in fputcsv). (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/spl/
H A Dspl_directory.c2629 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 DSplFileObject_fgetcsv_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_delimiter_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_delimiter_error.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_enclosure_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_enclosure_error.phpt6 fputcsv($fp, array(
H A DSplFileObject_fputcsv.phpt2 SplFileObject::fputcsv(): functionality tests
32 $fo->fputcsv(explode(',', $v));
H A DSplFileObject_fputcsv_002.phpt2 SplFileObject::fputcsv(): Checking data after calling the function
9 $fo->fputcsv($data);
H A DSplFileObject_fputcsv_variation1.phpt2 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 DSplFileObject_fputcsv_variation10.phpt2 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 DSplFileObject_fputcsv_variation11.phpt2 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 DSplFileObject_fputcsv_variation12.phpt2 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 DSplFileObject_fputcsv_variation13.phpt2 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 DSplFileObject_fputcsv_variation14.phpt2 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 DSplFileObject_fputcsv_variation15.phpt2 SplFileObject::fputcsv() with empty $escape
11 $file->fputcsv($record, ',', '"', '');
H A DSplFileObject_fputcsv_variation5.phpt2 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 DSplFileObject_fputcsv_variation6.phpt2 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 DSplFileObject_fputcsv_variation7.phpt2 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 DSplFileObject_fputcsv_variation8.phpt2 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 Dbug68479.phpt2 Bug #68479 (Escape parameter missing from SplFileObject::fputcsv)
6 $method = new ReflectionMethod('SplFileObject', 'fputcsv');
H A Dbug77024.phpt7 $file->fputcsv(['foo', 'bar', 'baz']);
H A Dbug78976.phpt2 Bug #78976 (SplFileObject::fputcsv returns -1 on failure)
6 var_dump($file->fputcsv(['foo', 'bar']));
/PHP-7.4/ext/standard/
H A Dbasic_functions.c3184 PHP_FE(fputcsv, arginfo_fputcsv)

Completed in 58 milliseconds

12