Home
last modified time | relevance | path

Searched refs:enclosure (Results 1 – 25 of 58) sorted by path

123

/php-src/ext/spl/
H A Dspl_directory.c379 intern->u.file.enclosure = '"'; in spl_filesystem_file_open()
689 stmp[0] = intern->u.file.enclosure; in spl_filesystem_object_get_debug_info()
2304 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure; in PHP_METHOD() local
2327 enclosure = enclo[0]; in PHP_METHOD()
2351 char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure; in PHP_METHOD() local
2375 enclosure = enclo[0]; in PHP_METHOD()
2401 char delimiter = ',', enclosure = '"'; in PHP_METHOD() local
2422 enclosure = enclo[0]; in PHP_METHOD()
2437 intern->u.file.enclosure = enclosure; in PHP_METHOD()
2456 enclosure[0] = intern->u.file.enclosure; in PHP_METHOD()
[all …]
H A Dspl_directory.h85 char enclosure; member
H A Dspl_directory.stub.php253 …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 Dspl_directory_arginfo.h186 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enclosure, IS_STRING, 0, "\"\\\"\"")
193 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enclosure, IS_STRING, 0, "\"\\\"\"")
200 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enclosure, IS_STRING, 0, "\"\\\"\"")
/php-src/ext/spl/tests/SplFileObject/
H A DSplFileObject_fgetcsv_enclosure_error.phpt26 SplFileObject::fgetcsv(): Argument #2 ($enclosure) must be a single character
H A DSplFileObject_fputcsv_variation1.phpt11 1st element is delimiter, 2nd element is enclosure
46 $enclosure = $csv_list[1];
50 var_dump( $fo->fputcsv($csv_field, $delimiter, $enclosure) );
H A DSplFileObject_fputcsv_variation10.phpt11 1st element is delimiter, 2nd element is 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 ***
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 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 …
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 DSplFileObject_fputcsv_variation5.phpt11 1st element is delimiter, 2nd element is enclosure
46 $enclosure = $csv_list[1];
H A DSplFileObject_fputcsv_variation6.phpt2 Test fputcsv() : usage variations - with different delimiter and enclosure
11 echo "*** Testing fputcsv() : with different delimiter and enclosure ***\n";
14 1st element is delimiter, 2nd element is enclosure
49 $enclosure = $csv_list[1];
71 *** Testing fputcsv() : with different delimiter and enclosure ***
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_variation8.phpt2 Test fputcsv() : usage variations - with same delimiter and different enclosure
7 Testing fputcsv() to write to a file when delimiter is same but enclosure is different from those
11 echo "*** Testing fputcsv() : with same delimiter and different enclosure ***\n";
14 1st element is delimiter, 2nd element is enclosure
49 $enclosure = $csv_list[1];
71 *** Testing fputcsv() : with same delimiter and different enclosure ***
H A DSplFileObject_setCsvControl_error002.phpt27 SplFileObject::setCsvControl(): Argument #2 ($enclosure) must be a single character
H A Dbug60201.phpt21 string(9) "enclosure"
H A Dbug64782.phpt19 ["enclosure":"SplFileObject":private]=>
H A Dbug68479.phpt26 string(9) "enclosure"
/php-src/ext/spl/tests/
H A DSplTempFileObject_constructor_basic.phpt17 ["enclosure":"SplFileObject":private]=>
H A DSplTempFileObject_constructor_maxmemory_basic.phpt17 ["enclosure":"SplFileObject":private]=>
H A DSplTempFileObject_constructor_memory_lt1_variation.phpt17 ["enclosure":"SplFileObject":private]=>
/php-src/ext/standard/
H A Dbasic_functions.stub.php2580 function str_getcsv(string $string, string $separator = ",", string $enclosure = "\"", string $esca…
2886 function fputcsv($stream, array $fields, string $separator = ",", string $enclosure = "\"", string …
2893 function fgetcsv($stream, ?int $length = null, string $separator = ",", string $enclosure = "\"", s…
H A Dbasic_functions_arginfo.h1020 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enclosure, IS_STRING, 0, "\"\\\"\"")
1331 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enclosure, IS_STRING, 0, "\"\\\"\"")
1340 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enclosure, IS_STRING, 0, "\"\\\"\"")
H A Dfile.c1734 enclosure = *enclosure_str; in PHP_FUNCTION()
1776 FPUTCSV_FLD_CHK(enclosure) || in php_fputcsv()
1787 smart_str_appendc(&csvline, enclosure); in php_fputcsv()
1791 } else if (!escaped && *ch == enclosure) { in php_fputcsv()
1792 smart_str_appendc(&csvline, enclosure); in php_fputcsv()
1799 smart_str_appendc(&csvline, enclosure); in php_fputcsv()
1874 enclosure = enclosure_str[0]; in PHP_FUNCTION()
1968 if (*tmp == enclosure && tmp < limit) { in php_fgetcsv()
1980 if (inc_len != 0 && *bptr == enclosure) { in php_fgetcsv()
2073 if (*bptr != enclosure) { in php_fgetcsv()
[all …]

Completed in 62 milliseconds

123