Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/standard/tests/file/
H A Dfputcsv_variation13.phpt2 Test fputcsv() : usage variations - with enclosure of two chars
55 var_dump( fputcsv($file_handle, $csv_field, '+', '%%') );
79 fputcsv(): Argument #4 ($enclosure) must be a single character
85 fputcsv(): Argument #4 ($enclosure) must be a single character
91 fputcsv(): Argument #4 ($enclosure) must be a single character
97 fputcsv(): Argument #4 ($enclosure) must be a single character
103 fputcsv(): Argument #4 ($enclosure) must be a single character
109 fputcsv(): Argument #4 ($enclosure) must be a single character
115 fputcsv(): Argument #4 ($enclosure) must be a single character
121 fputcsv(): Argument #4 ($enclosure) must be a single character
[all …]
H A Dfputcsv_variation2.phpt2 Test fputcsv() : usage variations - with delimiter as NULL
5 /* Testing fputcsv() to write to a file when delimiter is NULL */
7 echo "*** Testing fputcsv() : with delimiter as NULL ***\n";
75 *** Testing fputcsv() : with delimiter as NULL ***
78 fputcsv(): Argument #3 ($separator) must be a single character
84 fputcsv(): Argument #3 ($separator) must be a single character
90 fputcsv(): Argument #3 ($separator) must be a single character
96 fputcsv(): Argument #3 ($separator) must be a single character
102 fputcsv(): Argument #3 ($separator) must be a single character
108 fputcsv(): Argument #3 ($separator) must be a single character
[all …]
H A Dfputcsv_variation9.phpt2 Test fputcsv() : usage variations - two chars as enclosure & delimiter
78 fputcsv(): Argument #3 ($separator) must be a single character
84 fputcsv(): Argument #3 ($separator) must be a single character
90 fputcsv(): Argument #3 ($separator) must be a single character
96 fputcsv(): Argument #3 ($separator) must be a single character
102 fputcsv(): Argument #3 ($separator) must be a single character
108 fputcsv(): Argument #3 ($separator) must be a single character
114 fputcsv(): Argument #3 ($separator) must be a single character
120 fputcsv(): Argument #3 ($separator) must be a single character
126 fputcsv(): Argument #3 ($separator) must be a single character
[all …]
H A Dfputcsv_variation3.phpt2 Test fputcsv() : usage variations - with enclosure as NULL
5 /* Testing fputcsv() to write to a file when enclosure is NULL */
7 echo "*** Testing fputcsv() : with enclosure as NULL ***\n";
75 *** Testing fputcsv() : with enclosure as NULL ***
78 fputcsv(): Argument #4 ($enclosure) must be a single character
84 fputcsv(): Argument #4 ($enclosure) must be a single character
90 fputcsv(): Argument #4 ($enclosure) must be a single character
96 fputcsv(): Argument #4 ($enclosure) must be a single character
102 fputcsv(): Argument #4 ($enclosure) must be a single character
108 fputcsv(): Argument #4 ($enclosure) must be a single character
[all …]
H A Dfputcsv_variation4.phpt2 Test fputcsv() : usage variations - with delimiter and enclosure as NULL
78 fputcsv(): Argument #3 ($separator) must be a single character
84 fputcsv(): Argument #3 ($separator) must be a single character
90 fputcsv(): Argument #3 ($separator) must be a single character
96 fputcsv(): Argument #3 ($separator) must be a single character
102 fputcsv(): Argument #3 ($separator) must be a single character
108 fputcsv(): Argument #3 ($separator) must be a single character
114 fputcsv(): Argument #3 ($separator) must be a single character
120 fputcsv(): Argument #3 ($separator) must be a single character
126 fputcsv(): Argument #3 ($separator) must be a single character
[all …]
H A Dfputcsv_variation16.phpt2 fputcsv() with empty $escape
11 fputcsv($stream, $record, ',', '"', '');
H A Dfputcsv_002.phpt2 fputcsv(): Checking data after calling the function
12 fputcsv($fp, $data);
H A Dfputcsv.phpt2 various fputcsv() functionality tests
29 $file = __DIR__ . '/fputcsv.csv';
34 fputcsv($fp, explode(',', $v));
H A Dfputcsv_variation15.phpt2 various fputcsv() functionality tests
36 fputcsv($fp, explode(',', $v), ',', '"', '/');
H A Dfputcsv_variation10.phpt2 Test fputcsv() : usage variations - with line without any csv fields
5 /* Testing fputcsv() to write to a file when the field has no CSV format */
7 echo "*** Testing fputcsv() : with no CSV format in the field ***\n";
45 var_dump( fputcsv($file_handle, $csv_field) );
64 *** Testing fputcsv() : with no CSV format in the field ***
/PHP-8.0/ext/spl/tests/
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";
14 var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '"'));
29 *** Testing fputcsv() : with default enclosure & delimiter of two chars ***
30 SplFileObject::fputcsv(): Argument #2 ($separator) must be a single character
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 …
14 var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '""'));
29 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***
30 SplFileObject::fputcsv(): Argument #3 ($enclosure) must be a single character
H A Dbug78976.phpt2 Bug #78976 (SplFileObject::fputcsv returns -1 on failure)
6 var_dump($file->fputcsv(['foo', 'bar']));
H A DSplFileObject_fputcsv_variation15.phpt2 SplFileObject::fputcsv() with empty $escape
11 $file->fputcsv($record, ',', '"', '');
H A Dbug68479.phpt2 Bug #68479 (Escape parameter missing from SplFileObject::fputcsv)
6 $method = new ReflectionMethod('SplFileObject', 'fputcsv');
H A DSplFileObject_fputcsv_002.phpt2 SplFileObject::fputcsv(): Checking data after calling the function
9 $fo->fputcsv($data);
H A DSplFileObject_fgetcsv_delimiter_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_enclosure_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fputcsv.phpt2 SplFileObject::fputcsv(): functionality tests
32 $fo->fputcsv(explode(',', $v));
H A DSplFileObject_fgetcsv_delimiter_error.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_enclosure_error.phpt6 fputcsv($fp, array(
H A Dbug77024.phpt7 $file->fputcsv(['foo', 'bar', 'baz']);
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 Dbug75917.phpt12 $tmp->fputcsv($row);

Completed in 35 milliseconds

12