Home
last modified time | relevance | path

Searched refs:enclosure (Results 1 – 25 of 59) sorted by relevance

123

/PHP-8.0/ext/standard/tests/file/
H A Dfputcsv_variation13.phpt2 Test fputcsv() : usage variations - with enclosure of two chars
11 1st element is delimiter, 2nd element is enclosure
50 $enclosure = $csv_list[1];
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
[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";
10 1st element is delimiter, 2nd element is enclosure
49 $enclosure = $csv_list[1];
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
[all …]
H A Dfgetcsv_error_conditions.phpt11 $enclosure = '"';
25 var_dump( fgetcsv($file_handle, -10, $delimiter, $enclosure) );
32 var_dump( fgetcsv($file_handle, $length, NULL, $enclosure) );
37 echo 'fgetcsv() with enclosure as NULL' . \PHP_EOL;
44 echo 'fgetcsv() with delimiter & enclosure as NULL' . \PHP_EOL;
58 fgetcsv() with enclosure as NULL
59 fgetcsv(): Argument #4 ($enclosure) must be a single character
60 fgetcsv() with delimiter & enclosure as NULL
H A Dfgetcsv_variation21.phpt2 Test fgetcsv() : usage variations - with default enclosure, blank line
7 default enclosure argument
10 echo "*** Testing fgetcsv() : with default enclosure, blank line ***\n";
65 *** Testing fgetcsv() : with default enclosure, blank line ***
H A Dfgetcsv_variation20.phpt2 Test fgetcsv() : usage variations - with default enclosure, line without any csv fields
7 when provided with default enclosure value
10 echo "*** Testing fgetcsv() : with default enclosure, line without any csv fields ***\n";
65 *** Testing fgetcsv() : with default enclosure, line without any csv fields ***
H A Dfputcsv_variation7.phpt2 Test fputcsv() : usage variations - with different delimiter and same enclosure
6 Testing fputcsv() to write to a file when enclosure is same but delimiter is different from those
10 echo "*** Testing fputcsv() : with different delimiter and same enclosure ***\n";
13 1st element is delimiter, 2nd element is enclosure
52 $enclosure = $csv_list[1];
56 var_dump( fputcsv($file_handle, $csv_field, '+', $enclosure) );
74 *** Testing fputcsv() : with different delimiter and same enclosure ***
H A Dfputcsv_variation12.phpt2 Test fputcsv() : usage variations - with default enclosure and different delimiter
5 /* Testing fputcsv() to write to a file when default enclosure value and delimiter value
8 echo "*** Testing fputcsv() : with default enclosure and different delimiter value ***\n";
11 1st element is delimiter, 2nd element is enclosure
50 $enclosure = $csv_list[1];
72 *** Testing fputcsv() : with default enclosure and different delimiter value ***
/PHP-8.0/ext/spl/tests/
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 …
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 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";
29 *** Testing fputcsv() : with default enclosure & delimiter of two chars ***
H A DSplTempFileObject_constructor_basic.phpt17 ["enclosure":"SplFileObject":private]=>
H A Dbug60201.phpt21 string(9) "enclosure"
H A Dbug68479.phpt26 string(9) "enclosure"
H A DSplTempFileObject_constructor_memory_lt1_variation.phpt17 ["enclosure":"SplFileObject":private]=>
H A DSplTempFileObject_constructor_maxmemory_basic.phpt17 ["enclosure":"SplFileObject":private]=>
H A Dbug64782.phpt19 ["enclosure":"SplFileObject":private]=>
H A DSplFileObject_fgetcsv_enclosure_error.phpt26 SplFileObject::fgetcsv(): Argument #2 ($enclosure) must be a single character
H A DSplFileObject_setCsvControl_error002.phpt27 SplFileObject::setCsvControl(): Argument #2 ($enclosure) must be a single character
H A DSplFileObject_fputcsv_variation7.phpt2 Test fputcsv() : usage variations - with different delimiter and same enclosure
7 Testing fputcsv() to write to a file when enclosure is same but delimiter is different from those
11 echo "*** Testing fputcsv() : with different delimiter and same enclosure ***\n";
14 1st element is delimiter, 2nd element is enclosure
49 $enclosure = $csv_list[1];
53 var_dump( $fo->fputcsv($csv_field, '+', $enclosure) );
71 *** Testing fputcsv() : with different delimiter and same enclosure ***
H A DSplFileObject_fputcsv_variation11.phpt2 SplFileObject::fputcsv(): Usage variations -- with default enclosure value
6 /* Testing fputcsv() to write to a file when default enclosure value is provided */
8 echo "*** Testing fputcsv() : with default enclosure value ***\n";
11 1st element is delimiter, 2nd element is enclosure
46 $enclosure = $csv_list[1];
68 *** Testing fputcsv() : with default enclosure value ***
H A DSplFileObject_fputcsv_variation12.phpt2 SplFileObject::fputcsv(): Usage variations -- with default enclosure and different delimiter
6 /* Testing fputcsv() to write to a file when default enclosure value and delimiter value
9 echo "*** Testing fputcsv() : with default enclosure and different delimiter value ***\n";
12 1st element is delimiter, 2nd element is enclosure
47 $enclosure = $csv_list[1];
69 *** Testing fputcsv() : with default enclosure and different delimiter value ***
/PHP-8.0/ext/spl/
H A Dspl_directory.stub.php209 …public function fgetcsv(string $separator = ",", string $enclosure = "\"", string $escape = "\\") … argument
212 …public function fputcsv(array $fields, string $separator = ",", string $enclosure = "\"", string $… argument
215 …public function setCsvControl(string $separator = ",", string $enclosure = "\"", string $escape = … argument
H A Dspl_directory.c336 intern->u.file.enclosure = '"'; in spl_filesystem_file_open()
670 stmp[0] = intern->u.file.enclosure; in spl_filesystem_object_get_debug_info()
2332 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure; in PHP_METHOD() local
2359 enclosure = enclo[0]; in PHP_METHOD()
2380 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure; in PHP_METHOD() local
2409 enclosure = enclo[0]; in PHP_METHOD()
2435 char delimiter = ',', enclosure = '"'; in PHP_METHOD() local
2461 enclosure = enclo[0]; in PHP_METHOD()
2474 intern->u.file.enclosure = enclosure; in PHP_METHOD()
2490 enclosure[0] = intern->u.file.enclosure; in PHP_METHOD()
[all …]
/PHP-8.0/ext/standard/
H A Dfile.h51 PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure, int escape_char, size_t…
52 PHPAPI ssize_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, int es…
H A Dfile.c1825 enclosure = *enclosure_str; in PHP_FUNCTION()
1867 FPUTCSV_FLD_CHK(enclosure) || in php_fputcsv()
1878 smart_str_appendc(&csvline, enclosure); in php_fputcsv()
1882 } else if (!escaped && *ch == enclosure) { in php_fputcsv()
1883 smart_str_appendc(&csvline, enclosure); in php_fputcsv()
1890 smart_str_appendc(&csvline, enclosure); in php_fputcsv()
1961 enclosure = enclosure_str[0]; in PHP_FUNCTION()
2045 if (*tmp == enclosure) { in php_fgetcsv()
2056 if (inc_len != 0 && *bptr == enclosure) { in php_fgetcsv()
2139 if (*bptr != enclosure) { in php_fgetcsv()
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Dstr_getcsv_001.phpt6 // string input[, string delimiter[, string enclosure[, string escape]]]

Completed in 40 milliseconds

123