/PHP-8.4/ext/standard/tests/file/ |
H A D | fputcsv_variation13.phpt | 2 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 D | fgetcsv_error_conditions.phpt | 11 $enclosure = '"'; 25 var_dump( fgetcsv($file_handle, -10, $delimiter, $enclosure, escape: "\\") ); 32 var_dump( fgetcsv($file_handle, $length, '', $enclosure, escape: "\\") ); 37 echo 'fgetcsv() with enclosure as empty string' . \PHP_EOL; 44 echo 'fgetcsv() with delimiter & enclosure as empty string' . \PHP_EOL; 58 fgetcsv() with enclosure as empty string 59 fgetcsv(): Argument #4 ($enclosure) must be a single character 60 fgetcsv() with delimiter & enclosure as empty string
|
H A D | fgetcsv_variation21.phpt | 2 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 D | fgetcsv_variation33.phpt | 2 fgetcsv() with unterminated enclosure at the end of file
|
H A D | fgetcsv_variation20.phpt | 2 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 ***
|
/PHP-8.4/ext/spl/tests/SplFileObject/ |
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 … 34 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode *** 36 SplFileObject::fputcsv(): Argument #3 ($enclosure) must be a single character
|
H A D | SplFileObject_fgetcsv_enclosure_basic.phpt | 2 SplFileObject::fgetcsv with alternative enclosure 14 enclosure: '"', 21 var_dump($fo->fgetcsv(enclosure: '"'));
|
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"; 29 *** Testing fputcsv() : with default enclosure & delimiter of two chars ***
|
H A D | SplFileObject_fgetcsv_enclosure_error.phpt | 2 SplFileObject::fgetcsv() enclosure error 21 var_dump($fo->fgetcsv(enclosure: 'invalid')); 31 SplFileObject::fgetcsv(): Argument #2 ($enclosure) must be a single character
|
H A D | bug60201.phpt | 21 string(9) "enclosure"
|
H A D | bug68479.phpt | 26 string(9) "enclosure"
|
H A D | bug64782.phpt | 19 ["enclosure":"SplFileObject":private]=>
|
H A D | SplFileObject_setCsvControl_error002.phpt | 27 SplFileObject::setCsvControl(): Argument #2 ($enclosure) must be a single character
|
H A D | SplFileObject_fputcsv_variation7.phpt | 2 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 51 $enclosure = $csv_list[1]; 55 var_dump( $fo->fputcsv($csv_field, '+', $enclosure) ); 73 *** Testing fputcsv() : with different delimiter and same enclosure ***
|
/PHP-8.4/ext/standard/tests/strings/ |
H A D | str_getcsv_errors.phpt | 6 // string input[, string delimiter[, string enclosure[, string escape]]] 13 var_dump(str_getcsv('csv_string', ',', 'enclosure', '')); 26 ValueError: str_getcsv(): Argument #3 ($enclosure) must be a single character
|
H A D | oss_fuzz_57392.phpt | 2 oss-fuzz #57392: Buffer-overflow in php_fgetcsv() with \0 delimiter and enclosure
|
H A D | str_getcsv_001.phpt | 6 // string input[, string delimiter[, string enclosure[, string escape]]]
|
/PHP-8.4/ext/spl/tests/ |
H A D | SplTempFileObject_constructor_basic.phpt | 17 ["enclosure":"SplFileObject":private]=>
|
H A D | SplTempFileObject_constructor_memory_lt1_variation.phpt | 17 ["enclosure":"SplFileObject":private]=>
|
H A D | SplTempFileObject_constructor_maxmemory_basic.phpt | 17 ["enclosure":"SplFileObject":private]=>
|
/PHP-8.4/ext/standard/ |
H A D | file.h | 52 PHPAPI HashTable *php_fgetcsv(php_stream *stream, char delimiter, char enclosure, int escape_char, … 53 PHPAPI ssize_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, int es…
|
H A D | file.c | 1720 enclosure = *enclosure_str; in PHP_FUNCTION() 1754 FPUTCSV_FLD_CHK(enclosure) || in php_fputcsv() 1765 smart_str_appendc(&csvline, enclosure); in php_fputcsv() 1769 } else if (!escaped && *ch == enclosure) { in php_fputcsv() 1770 smart_str_appendc(&csvline, enclosure); in php_fputcsv() 1777 smart_str_appendc(&csvline, enclosure); in php_fputcsv() 1849 enclosure = enclosure_str[0]; in PHP_FUNCTION() 1934 if (*tmp == enclosure && tmp < limit) { in php_fgetcsv() 1946 if (inc_len != 0 && *bptr == enclosure) { in php_fgetcsv() 2039 if (*bptr != enclosure) { in php_fgetcsv() [all …]
|
/PHP-8.4/ext/spl/ |
H A D | spl_directory.stub.php | 253 …public function fgetcsv(string $separator = ",", string $enclosure = "\"", string $escape = "\\"):… argument 256 …public function fputcsv(array $fields, string $separator = ",", string $enclosure = "\"", string $… argument 259 …public function setCsvControl(string $separator = ",", string $enclosure = "\"", string $escape = … argument
|
H A D | spl_directory.c | 376 intern->u.file.enclosure = '"'; in spl_filesystem_file_open() 2319 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure; in PHP_METHOD() local 2342 enclosure = enclo[0]; in PHP_METHOD() 2359 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure; in PHP_METHOD() local 2383 enclosure = enclo[0]; in PHP_METHOD() 2402 char delimiter = ',', enclosure = '"'; in PHP_METHOD() local 2423 enclosure = enclo[0]; in PHP_METHOD() 2434 intern->u.file.enclosure = enclosure; in PHP_METHOD() 2443 char delimiter[2], enclosure[2], escape[2]; in PHP_METHOD() local 2453 enclosure[0] = intern->u.file.enclosure; in PHP_METHOD() [all …]
|
H A D | spl_directory.h | 83 char enclosure; member
|