Home
last modified time | relevance | path

Searched refs:fputcsv (Results 1 – 25 of 45) sorted by last modified time

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/standard/
H A Dfile.c1854 PHP_FUNCTION(fputcsv) in PHP_FUNCTION() argument
H A Dbasic_functions.c3184 PHP_FE(fputcsv, arginfo_fputcsv)
H A Dfile.h40 PHP_FUNCTION(fputcsv);
/PHP-7.4/ext/spl/tests/
H A Dbug78976.phpt2 Bug #78976 (SplFileObject::fputcsv returns -1 on failure)
6 var_dump($file->fputcsv(['foo', 'bar']));
H A Dbug68479.phpt2 Bug #68479 (Escape parameter missing from SplFileObject::fputcsv)
6 $method = new ReflectionMethod('SplFileObject', 'fputcsv');
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_variation15.phpt2 SplFileObject::fputcsv() with empty $escape
11 $file->fputcsv($record, ',', '"', '');
/PHP-7.4/ext/standard/tests/file/
H A Dfputcsv.phpt2 various fputcsv() functionality tests
29 $file = __DIR__ . '/fputcsv.csv';
34 fputcsv($fp, explode(',', $v));
H A Dfputcsv_002.phpt2 fputcsv(): Checking data after calling the function
12 fputcsv($fp, $data);
H A Dfputcsv_variation15.phpt2 various fputcsv() functionality tests
36 fputcsv($fp, explode(',', $v), ',', '"', '/');
H A Dfputcsv_variation16.phpt2 fputcsv() with empty $escape
11 fputcsv($stream, $record, ',', '"', '');
H A Dfputcsv_variation2.phpt2 Test fputcsv() : usage variations - with delimiter as NULL
10 /* Testing fputcsv() to write to a file when delimiter is NULL */
12 echo "*** Testing fputcsv() : with delimiter as NULL ***\n";
76 *** Testing fputcsv() : with delimiter as NULL ***
80 Warning: fputcsv(): delimiter must be a character in %s on line %d
88 Warning: fputcsv(): delimiter must be a character in %s on line %d
96 Warning: fputcsv(): delimiter must be a character in %s on line %d
104 Warning: fputcsv(): delimiter must be a character in %s on line %d
112 Warning: fputcsv(): delimiter must be a character in %s on line %d
120 Warning: fputcsv(): delimiter must be a character in %s on line %d
[all …]
H A Dfputcsv_variation5.phpt2 Test fputcsv() : usage variations - with default arguments value
6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos…
10 /* Testing fputcsv() to write to a file when default arguments values are considered */
12 echo "*** Testing fputcsv() : with default arguments value ***\n";
58 var_dump( fputcsv($file_handle, $csv_field) );
76 *** Testing fputcsv() : with default arguments value ***
H A Dfputcsv_variation6.phpt2 Test fputcsv() : usage variations - with different delimiter and enclosure
6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos…
11 Testing fputcsv() to write to a file when delimiter are different from those
15 echo "*** Testing fputcsv() : with different delimiter and enclosure ***\n";
61 var_dump( fputcsv($file_handle, $csv_field, '+', '%') );
79 *** Testing fputcsv() : with different delimiter and enclosure ***
H A Dfputcsv_variation7.phpt2 Test fputcsv() : usage variations - with different delimiter and same enclosure
6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos…
11 Testing fputcsv() to write to a file when enclosure is same but delimiter is different from those
15 echo "*** Testing fputcsv() : with different delimiter and same enclosure ***\n";
61 var_dump( fputcsv($file_handle, $csv_field, '+', $enclosure) );
79 *** Testing fputcsv() : with different delimiter and same enclosure ***
H A Dfputcsv_variation8.phpt2 Test fputcsv() : usage variations - with same delimiter and different enclosure
6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos…
11 Testing fputcsv() to write to a file when delimiter is same but enclosure is different from those
15 echo "*** Testing fputcsv() : with same delimiter and different enclosure ***\n";
61 var_dump( fputcsv($file_handle, $csv_field, $delimiter, '+') );
79 *** Testing fputcsv() : with same delimiter and different enclosure ***
H A Dfputcsv_variation9.phpt2 Test fputcsv() : usage variations - two chars as enclosure & delimiter
13 echo "*** Testing fputcsv() : with two chars as enclosure & delimiter ***\n";
59 var_dump( fputcsv($file_handle, $csv_field, '++', '%%'
78 *** Testing fputcsv() : with two chars as enclosure & delimiter ***
82 Notice: fputcsv(): delimiter must be a single character in %s on line %d
84 Notice: fputcsv(): enclosure must be a single character in %s on line %d
93 Notice: fputcsv(): delimiter must be a single character in %s on line %d
95 Notice: fputcsv(): enclosure must be a single character in %s on line %d
104 Notice: fputcsv(): delimiter must be a single character in %s on line %d
106 Notice: fputcsv(): enclosure must be a single character in %s on line %d
[all …]
H A Dfputcsv_variation3.phpt2 Test fputcsv() : usage variations - with enclosure as NULL
10 /* Testing fputcsv() to write to a file when enclosure is NULL */
12 echo "*** Testing fputcsv() : with enclosure as NULL ***\n";
76 *** Testing fputcsv() : with enclosure as NULL ***
80 Warning: fputcsv(): enclosure must be a character in %s on line %d
88 Warning: fputcsv(): enclosure must be a character in %s on line %d
96 Warning: fputcsv(): enclosure must be a character in %s on line %d
104 Warning: fputcsv(): enclosure must be a character in %s on line %d
112 Warning: fputcsv(): enclosure must be a character in %s on line %d
120 Warning: fputcsv(): enclosure must be a character in %s on line %d
[all …]
H A Dfputcsv_variation4.phpt2 Test fputcsv() : usage variations - with delimiter and enclosure as NULL
58 var_dump( fputcsv($file_handle, $csv_field, NULL, NULL) );
76 *** Testing fputcsv() : with delimiter and enclosure as NULL ***
80 Warning: fputcsv(): delimiter must be a character in %s on line %d
88 Warning: fputcsv(): delimiter must be a character in %s on line %d
96 Warning: fputcsv(): delimiter must be a character in %s on line %d
104 Warning: fputcsv(): delimiter must be a character in %s on line %d
112 Warning: fputcsv(): delimiter must be a character in %s on line %d
120 Warning: fputcsv(): delimiter must be a character in %s on line %d
128 Warning: fputcsv(): delimiter must be a character in %s on line %d
[all …]
H A Dfputcsv_variation14.phpt67 var_dump( fputcsv($file_handle, $csv_field, '++', '%%') );
89 Notice: fputcsv(): delimiter must be a single character in %s on line %d
91 Notice: fputcsv(): enclosure must be a single character in %s on line %d
101 Notice: fputcsv(): delimiter must be a single character in %s on line %d
103 Notice: fputcsv(): enclosure must be a single character in %s on line %d
113 Notice: fputcsv(): delimiter must be a single character in %s on line %d
115 Notice: fputcsv(): enclosure must be a single character in %s on line %d
125 Notice: fputcsv(): delimiter must be a single character in %s on line %d
127 Notice: fputcsv(): enclosure must be a single character in %s on line %d
137 Notice: fputcsv(): delimiter must be a single character in %s on line %d
[all …]
H A Dfputcsv_variation1.phpt2 Test fputcsv() : usage variations - with all parameters specified
6 …Prototype: array fputcsv ( resource $handle , array $fields [, string $delimiter [, string $enclos…
10 /* Testing fputcsv() to write to a file when all its parameters are provided */
12 echo "*** Testing fputcsv() : with all parameters specified ***\n";
58 var_dump( fputcsv($file_handle, $csv_field, $delimiter, $enclosure) );
76 *** Testing fputcsv() : with all parameters specified ***

Completed in 79 milliseconds

12