Home
last modified time | relevance | path

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

12

/php-src/ext/standard/tests/file/
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_variation13.phpt2 Test fputcsv() : usage variations - with enclosure of two chars
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
127 fputcsv(): Argument #4 ($enclosure) must be a single character
[all …]
H A Dfputcsv_default_escape_deprecation.phpt2 fputcsv(): Deprecation if using default escape arg
13 fputcsv($fp, $data);
25 Deprecated: fputcsv(): the $escape parameter must be provided as its default value will change in %…
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, escape: "\\");
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), escape: "\\");
H A Dfputcsv_variation18.phpt2 fputcsv() variant where escape parameter matters
17 fputcsv($fp, explode(',', $v), ',', '"', '/');
H A Dfputcsv_variation15.phpt2 various fputcsv() functionality tests
31 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, escape: "\\") );
64 *** Testing fputcsv() : with no CSV format in the field ***
/php-src/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)
7 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
10 $fo->fputcsv($data);
H A DSplFileObject_fputcsv_variation16.phpt2 SplFileObject::fputcsv() with user provided eol
15 $file->fputcsv($record, ',', '"', '', $eol_char);
H A DSplFileObject_fgetcsv_basic.phpt6 fputcsv(
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";
44 var_dump( $fo->fputcsv($csv_field) );
63 *** Testing fputcsv() : with no CSV format in the field ***
H A DSplFileObject_fputcsv.phpt2 SplFileObject::fputcsv(): functionality tests
34 $fo->fputcsv(explode(',', $v));
H A DSplFileObject_fgetcsv_delimiter_basic.phpt6 fputcsv(
H A DSplFileObject_fgetcsv_enclosure_basic.phpt6 fputcsv(
H A DSplFileObject_fgetcsv_delimiter_error.phpt6 fputcsv(
H A DSplFileObject_fgetcsv_enclosure_error.phpt6 fputcsv(
H A Dbug75917.phpt13 $tmp->fputcsv($row);

Completed in 27 milliseconds

12