Home
last modified time | relevance | path

Searched refs:escape (Results 1 – 25 of 215) sorted by relevance

123456789

/PHP-8.4/ext/standard/tests/strings/
H A Dstr_getcsv_001.phpt6 // 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 Dbug55674.phpt5 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 Dgh11982.phpt5 var_dump(str_getcsv('"', escape: ''));
6 var_dump(str_getcsv('"field","', escape: ''));
7 var_dump(str_getcsv('"","a', escape: ''));
H A Dstripos_variation5.phpt2 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 Dstrripos_variation5.phpt2 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 Dstrrpos_variation5.phpt2 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 Dstr_getcsv_errors.phpt6 // 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 Dstr_split_variation7.phpt12 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 Dfgetcsv_error_conditions.phpt15 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 Dfgetcsv_variation23.phpt19 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 Dgh15653.phpt10 fgetcsv($fp, PHP_INT_MAX, escape: '');
15 fgetcsv($fp, PHP_INT_MAX-1, escape: '');
/PHP-8.4/tests/lang/string/
H A Dunicode_escape_empty.phpt2 Invalid Unicode escape sequence: Empty
9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_incomplete.phpt2 Invalid Unicode escape sequence: Incomplete
9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_whitespace.phpt2 Invalid Unicode escape sequence: Whitespace
9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_sign2.phpt2 Invalid Unicode escape sequence: Negative sign
9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_sign.phpt2 Invalid Unicode escape sequence: Positive sign
9 Parse error: Invalid UTF-8 codepoint escape sequence in %s on line %d
H A Dunicode_escape_large_codepoint.phpt2 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 DSplFileObject_fgetcsv_basic.phpt14 escape: '',
19 $fo->setCsvControl(escape: '');
H A DSplFileObject_fgetcsv_delimiter_basic.phpt15 escape: '',
20 $fo->setCsvControl(escape: '');
H A DSplFileObject_fgetcsv_enclosure_basic.phpt15 escape: '',
20 $fo->setCsvControl(escape: '');
H A DSplFileObject_fgetcsv_escape_error.phpt2 SplFileObject::fgetcsv() escape error
21 SplFileObject::fgetcsv(): Argument #3 ($escape) must be empty or a single character
H A DSplFileObject_fgetcsv_delimiter_error.phpt14 escape: '',
19 $fo->setCsvControl(escape: '');
H A DSplFileObject_fgetcsv_enclosure_error.phpt14 escape: '',
19 $fo->setCsvControl(escape: '');
/PHP-8.4/ext/phar/tests/
H A Dphar_oo_008.phpt36 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 Dgh10648.phpt10 '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

Completed in 27 milliseconds

123456789