Searched refs:fputcsv (Results 1 – 25 of 45) sorted by relevance
12
/PHP-8.0/ext/standard/tests/file/ |
H A D | fputcsv_variation13.phpt | 2 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 D | fputcsv_variation2.phpt | 2 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 D | fputcsv_variation9.phpt | 2 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 D | fputcsv_variation3.phpt | 2 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 D | fputcsv_variation4.phpt | 2 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 D | fputcsv_variation16.phpt | 2 fputcsv() with empty $escape 11 fputcsv($stream, $record, ',', '"', '');
|
H A D | fputcsv_002.phpt | 2 fputcsv(): Checking data after calling the function 12 fputcsv($fp, $data);
|
H A D | fputcsv.phpt | 2 various fputcsv() functionality tests 29 $file = __DIR__ . '/fputcsv.csv'; 34 fputcsv($fp, explode(',', $v));
|
H A D | fputcsv_variation15.phpt | 2 various fputcsv() functionality tests 36 fputcsv($fp, explode(',', $v), ',', '"', '/');
|
H A D | fputcsv_variation10.phpt | 2 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 D | SplFileObject_fputcsv_variation13.phpt | 2 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 D | SplFileObject_fputcsv_variation14.phpt | 2 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 D | bug78976.phpt | 2 Bug #78976 (SplFileObject::fputcsv returns -1 on failure) 6 var_dump($file->fputcsv(['foo', 'bar']));
|
H A D | SplFileObject_fputcsv_variation15.phpt | 2 SplFileObject::fputcsv() with empty $escape 11 $file->fputcsv($record, ',', '"', '');
|
H A D | bug68479.phpt | 2 Bug #68479 (Escape parameter missing from SplFileObject::fputcsv) 6 $method = new ReflectionMethod('SplFileObject', 'fputcsv');
|
H A D | SplFileObject_fputcsv_002.phpt | 2 SplFileObject::fputcsv(): Checking data after calling the function 9 $fo->fputcsv($data);
|
H A D | SplFileObject_fgetcsv_delimiter_basic.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_enclosure_basic.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_basic.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fputcsv.phpt | 2 SplFileObject::fputcsv(): functionality tests 32 $fo->fputcsv(explode(',', $v));
|
H A D | SplFileObject_fgetcsv_delimiter_error.phpt | 6 fputcsv($fp, array(
|
H A D | SplFileObject_fgetcsv_enclosure_error.phpt | 6 fputcsv($fp, array(
|
H A D | bug77024.phpt | 7 $file->fputcsv(['foo', 'bar', 'baz']);
|
H A D | SplFileObject_fputcsv_variation10.phpt | 2 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 D | bug75917.phpt | 12 $tmp->fputcsv($row);
|
Completed in 41 milliseconds
12