Searched refs:str_getcsv (Results 1 – 12 of 12) sorted by relevance
/php-src/ext/standard/tests/strings/ |
H A D | str_getcsv_001.phpt | 2 str_getcsv(): Testing using various arguments 7 var_dump(str_getcsv('"f", "o", ""', escape: '')); 9 var_dump(str_getcsv('foo||bar', '|', escape: '')); 11 var_dump(str_getcsv('foo|bar', '|', escape: '')); 13 var_dump(str_getcsv('|foo|-|bar|', '-', '|', escape: '')); 15 var_dump(str_getcsv('|f.|.|bar|.|-|-.|', '.', '|', '-')); 17 var_dump(str_getcsv('.foo..bar.', '.', '.', '.')); 19 var_dump(str_getcsv('.foo . . bar .', ' ', '.', '')); 21 var_dump(str_getcsv('" "" "', ' ', escape: '')); 23 var_dump(str_getcsv('', escape: ''));
|
H A D | str_getcsv_errors.phpt | 2 str_getcsv(): Invalid arguments 8 var_dump(str_getcsv('csv_string', 'separator', '"', '')); 13 var_dump(str_getcsv('csv_string', ',', 'enclosure', '')); 18 var_dump(str_getcsv('csv_string', ',', '"', 'escape')); 25 ValueError: str_getcsv(): Argument #2 ($separator) must be a single character 26 ValueError: str_getcsv(): Argument #3 ($enclosure) must be a single character 27 ValueError: str_getcsv(): Argument #4 ($escape) must be empty or a single character
|
H A D | bug55674.phpt | 2 Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records) 5 var_dump(str_getcsv("0\t\t\"2\"\n", "\t", escape: '')); 6 var_dump(str_getcsv("0\t \t'2'\n", "\t", "'", escape: '')); 7 var_dump(str_getcsv(",,,,", escape: '')); 8 var_dump(str_getcsv(" \t \t\t\t ", "\t", escape: ''));
|
H A D | gh11982.phpt | 2 GH-11982 (str_getcsv returns null byte for unterminated quoted string) 5 var_dump(str_getcsv('"', escape: '')); 6 var_dump(str_getcsv('"field","', escape: '')); 7 var_dump(str_getcsv('"","a', escape: ''));
|
H A D | gh12151.phpt | 2 GH-12151 (str_getcsv ending with escape zero segfualt) 5 var_export(str_getcsv("y",",","y","\000")); 7 var_export(str_getcsv("\0yy","y","y","\0"));
|
H A D | str_getcsv_002.phpt | 2 str_getcsv() with empty $escape 8 print_r(str_getcsv($contents, ',', '"', ''));
|
H A D | oss_fuzz_57392.phpt | 5 var_dump(str_getcsv(
|
H A D | bug65947.phpt | 8 $adata = str_getcsv($csv,";", escape: '');
|
/php-src/ext/standard/tests/file/ |
H A D | bug72330.phpt | 17 $fields = str_getcsv($string, ';', '"', "#");
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2568 function str_getcsv(string $string, string $separator = ",", string $enclosure = "\"", string $esca…
|
H A D | basic_functions_arginfo.h | 2567 ZEND_FUNCTION(str_getcsv); 3168 ZEND_FE(str_getcsv, arginfo_str_getcsv)
|
H A D | string.c | 5415 PHP_FUNCTION(str_getcsv) argument
|
Completed in 55 milliseconds