Home
last modified time | relevance | path

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

12

/PHP-8.2/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_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_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_variation17.phpt2 fputcsv() with user provided eol
15 fputcsv($stream, $record, ',', '"', '\\', $eol_char);
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 ***
H A Dfputcsv_variation1.phpt2 Test fputcsv() : usage variations - with all parameters specified
5 /* Testing fputcsv() to write to a file when all its parameters are provided */
7 echo "*** Testing fputcsv() : with all parameters specified ***\n";
53 var_dump( fputcsv($file_handle, $csv_field, $delimiter, $enclosure) );
71 *** Testing fputcsv() : with all parameters specified ***
/PHP-8.2/ext/spl/tests/SplFileObject/
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'), ',,', '""'));
19 var_dump($fo->fputcsv(array('water', 'fruit'), ',', '""'));
34 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***
35 SplFileObject::fputcsv(): Argument #2 ($separator) must be a single character
36 SplFileObject::fputcsv(): Argument #3 ($enclosure) must be a single character
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 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_fputcsv_variation16.phpt2 SplFileObject::fputcsv() with user provided eol
15 $file->fputcsv($record, ',', '"', '', $eol_char);
H A DSplFileObject_fputcsv.phpt2 SplFileObject::fputcsv(): functionality tests
32 $fo->fputcsv(explode(',', $v));
H A DSplFileObject_fgetcsv_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_delimiter_basic.phpt6 fputcsv($fp, array(
H A DSplFileObject_fgetcsv_enclosure_basic.phpt6 fputcsv($fp, array(
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_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 Dbug75917.phpt12 $tmp->fputcsv($row);

Completed in 27 milliseconds

12