/PHP-8.4/ext/standard/tests/strings/ |
H A D | str_getcsv_001.phpt | 6 // string input[, string delimiter[, string enclosure[, string escape]]] 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: '')); 21 var_dump(str_getcsv('" "" "', ' ', escape: '')); 23 var_dump(str_getcsv('', escape: ''));
|
H A D | bug55674.phpt | 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 | 5 var_dump(str_getcsv('"', escape: '')); 6 var_dump(str_getcsv('"field","', escape: '')); 7 var_dump(str_getcsv('"","a', escape: ''));
|
H A D | stripos_variation5.phpt | 2 Test stripos() function : usage variations - heredoc string containing escape chars for 'haystack' … 5 /* Test stripos() function by passing heredoc string containing escape chars for haystack 10 echo "-- With heredoc string containing escape characters --\n"; 24 -- With heredoc string containing escape characters --
|
H A D | strripos_variation5.phpt | 2 Test strripos() function : usage variations - heredoc string containing escape chars for 'haystack'… 5 /* Test strripos() function by passing heredoc string containing escape chars for haystack 10 echo "-- With heredoc string containing escape characters --\n"; 23 -- With heredoc string containing escape characters --
|
H A D | strrpos_variation5.phpt | 2 Test strrpos() function : usage variations - heredoc string containing escape chars for 'haystack' … 5 /* Test strrpos() function by passing heredoc string containing escape chars for haystack 10 echo "-- With heredoc string containing escape characters --\n"; 24 -- With heredoc string containing escape characters --
|
H A D | str_getcsv_errors.phpt | 6 // string input[, string delimiter[, string enclosure[, string escape]]] 18 var_dump(str_getcsv('csv_string', ',', '"', 'escape')); 27 ValueError: str_getcsv(): Argument #4 ($escape) must be empty or a single character
|
H A D | str_split_variation7.phpt | 12 string with 123,escape char \t. 109 string(30) "string with 123,escape char ." 114 string(26) "string with 123,escape cha" 121 string(30) "string with 123,escape char ."
|
/PHP-8.4/ext/standard/tests/file/ |
H A D | fgetcsv_error_conditions.phpt | 15 var_dump( fgetcsv($file_handle, -10, escape: "\\") ); 20 var_dump( fgetcsv($file_handle, -10, $delimiter, escape: "\\") ); 25 var_dump( fgetcsv($file_handle, -10, $delimiter, $enclosure, escape: "\\") ); 32 var_dump( fgetcsv($file_handle, $length, '', $enclosure, escape: "\\") ); 39 var_dump( fgetcsv($file_handle, $length, $delimiter, '', escape: "\\") ); 46 var_dump( fgetcsv($file_handle, $length, '', '', escape: "\\") );
|
H A D | fgetcsv_variation23.phpt | 19 var_dump( fgetcsv($fp, escape: "\\") ); 21 var_dump( fgetcsv($fp, 1024, escape: "\\") ); 23 var_dump( fgetcsv($fp, 1024, "+", escape: "\\" ) ); 25 var_dump( fgetcsv($fp, 1024, "+", "%", escape: "\\") );
|
H A D | gh15653.phpt | 10 fgetcsv($fp, PHP_INT_MAX, escape: ''); 15 fgetcsv($fp, PHP_INT_MAX-1, escape: '');
|
/PHP-8.4/tests/lang/string/ |
H A D | unicode_escape_empty.phpt | 2 Invalid Unicode escape sequence: Empty 9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
|
H A D | unicode_escape_incomplete.phpt | 2 Invalid Unicode escape sequence: Incomplete 9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
|
H A D | unicode_escape_whitespace.phpt | 2 Invalid Unicode escape sequence: Whitespace 9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
|
H A D | unicode_escape_sign2.phpt | 2 Invalid Unicode escape sequence: Negative sign 9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
|
H A D | unicode_escape_sign.phpt | 2 Invalid Unicode escape sequence: Positive sign 9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
|
H A D | unicode_escape_large_codepoint.phpt | 2 Invalid Unicode escape sequence: Large codepoint 9 Parse error: Invalid UTF-8 codepoint escape sequence: Codepoint too large in %s on line %d
|
/PHP-8.4/ext/spl/tests/SplFileObject/ |
H A D | SplFileObject_fgetcsv_basic.phpt | 14 escape: '', 19 $fo->setCsvControl(escape: '');
|
H A D | SplFileObject_fgetcsv_delimiter_basic.phpt | 15 escape: '', 20 $fo->setCsvControl(escape: '');
|
H A D | SplFileObject_fgetcsv_enclosure_basic.phpt | 15 escape: '', 20 $fo->setCsvControl(escape: '');
|
H A D | SplFileObject_fgetcsv_escape_error.phpt | 2 SplFileObject::fgetcsv() escape error 21 SplFileObject::fgetcsv(): Argument #3 ($escape) must be empty or a single character
|
H A D | SplFileObject_fgetcsv_delimiter_error.phpt | 14 escape: '', 19 $fo->setCsvControl(escape: '');
|
H A D | SplFileObject_fgetcsv_enclosure_error.phpt | 14 escape: '', 19 $fo->setCsvControl(escape: '');
|
/PHP-8.4/ext/phar/tests/ |
H A D | phar_oo_008.phpt | 36 return parent::fgetcsv(',', '"', escape: ''); 47 echo $v->key() . "=>" . join('|', $v->fgetcsv(escape: '')) . "\n"; 54 $l = $v->fgetcsv(escape: ''); 69 return implode('|', parent::fgetcsv(',', '"', escape: ''));
|
/PHP-8.4/ext/mbstring/tests/ |
H A D | gh10648.phpt | 10 'ISO-2022-JP bytes without escape sequence' => '1b24422422', // 'ア' in JIS 11 'JIS X 0201 7bit kana with escape sequence' => '1b2849311b2842', // 'ア' in JIS 19 'JIS C 6220-1969 ESC ( H' => '1b284a1b2848', // an escape sequence transitioning to ASCII 20 … 'SO/SI when not in ASCII mode' => '1b284a0e0f1b2842', // an escape sequence transitioning to ASCII 47 ISO-2022-JP bytes without escape sequence 57 JIS X 0201 7bit kana with escape sequence
|