Home
last modified time | relevance | path

Searched refs:escape (Results 1 – 25 of 137) sorted by last modified time

123456

/php-src/ext/standard/
H A Dbasic_functions.stub.php2580 …string $string, string $separator = ",", string $enclosure = "\"", string $escape = "\\"): array {}
2886 …rray $fields, string $separator = ",", string $enclosure = "\"", string $escape = "\\", string $eo…
2893 …ength = null, string $separator = ",", string $enclosure = "\"", string $escape = "\\"): array|fal…
H A Dbasic_functions_arginfo.h1021 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escape, IS_STRING, 0, "\"\\\\\"")
1332 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escape, IS_STRING, 0, "\"\\\\\"")
1341 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escape, IS_STRING, 0, "\"\\\\\"")
H A Dfile.c1830 int escape = (unsigned char) '\\'; in PHP_FUNCTION() local
1884 escape = PHP_CSV_NO_ESCAPE; in PHP_FUNCTION()
1886 escape = (unsigned char) escape_str[0]; in PHP_FUNCTION()
1912 HashTable *values = php_fgetcsv(stream, delimiter, enclosure, escape, buf_len, buf); in PHP_FUNCTION()
/php-src/ext/standard/tests/general_functions/
H A Dghsa-pc52-254m-w9w7_1.phpt2 GHSA-54hq-v5wp-fqgv - proc_open does not correctly escape args for bat files
H A Dghsa-pc52-254m-w9w7_2.phpt2 GHSA-54hq-v5wp-fqgv - proc_open does not correctly escape args for cmd files
H A Dghsa-pc52-254m-w9w7_3.phpt2 GHSA-54hq-v5wp-fqgv - proc_open does not correctly escape args for cmd executing batch files
H A Ddebug_zval_dump_b_64bit.phpt60 "1234\t\n5678\n\t9100\rabcda\x0000cdeh\0stuv", // strings with escape chars
H A Ddebug_zval_dump_b.phpt56 "1234\t\n5678\n\t9100\rabcda\x0000cdeh\0stuv", // strings with escape chars
/php-src/ext/opcache/tests/opt/
H A Ddce_006.phpt2 DCE 006: Objects with destructors escape
/php-src/build/
H A Dgen_stub.php1482 … $docComment = $this->exposedDocComment ? '"' . $this->exposedDocComment->escape() . '"' : "NULL";
2751 $escapedComment = $this->exposedDocComment->escape();
2971 $escapedComment = $this->exposedDocComment->escape();
3258 …>doc_comment = zend_string_init_interned(\"" . $this->exposedDocComment->escape() . "\", " . $this…
4055 public function escape(): string { function in ExposedDocComment
/php-src/ext/spl/
H A Dspl_directory.c2305 int escape = intern->u.file.escape; in PHP_METHOD() local
2335 escape = PHP_CSV_NO_ESCAPE; in PHP_METHOD()
2337 escape = (unsigned char) esc[0]; in PHP_METHOD()
2352 int escape = intern->u.file.escape; in PHP_METHOD() local
2383 escape = PHP_CSV_NO_ESCAPE; in PHP_METHOD()
2385 escape = (unsigned char) esc[0]; in PHP_METHOD()
2430 escape = PHP_CSV_NO_ESCAPE; in PHP_METHOD()
2438 intern->u.file.escape = escape; in PHP_METHOD()
2459 escape[0] = '\0'; in PHP_METHOD()
2461 escape[0] = (unsigned char) intern->u.file.escape; in PHP_METHOD()
[all …]
H A Dspl_directory_arginfo.h187 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escape, IS_STRING, 0, "\"\\\\\"")
194 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escape, IS_STRING, 0, "\"\\\\\"")
201 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escape, IS_STRING, 0, "\"\\\\\"")
/php-src/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_text_03.phpt2 DOM\HTMLDocument serialization escape text 03 - special tags in namespace should encode content
H A DHTMLDocument_serialize_text_02.phpt2 DOM\HTMLDocument serialization escape text 02 - special tags in html namespace
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_quote_gbk_double_escape.phpt23 …* Without the character length check, we'd check if we need to escape the current character 0xB…
24 …* The character 0xBF isn't handled in the switch case so we don't escape it and append 0xBF to …
25 …econd iteration, i.e. *from == 0x27. This isn't a valid start either, so we go to the escape logic.
26 … * Note that 0x27 is the character ', so we have to escape! We write two bytes to the output:
H A Dbug_50323.phpt2 Bug #50323 (No ability to connect to database named 't;', no chance to escape semicolon)
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_compile.c1559 int escape = 0; in PRIV() local
1596 if (cb != NULL && (escape == ESC_P || escape == ESC_p || escape == ESC_X)) in PRIV()
1836 escape = -s; in PRIV()
2139 return escape; in PRIV()
2647 switch(escape) in handle_escdsw()
2678 switch(escape) in handle_escdsw()
2793 int escape; in parse_regex() local
3237 escape = -escape; in parse_regex()
3336 if (negated) escape = (escape == ESC_P)? ESC_p : ESC_P; in parse_regex()
5651 uint32_t escape; in compile_branch() local
[all …]
H A Dpcre2_context.c493 pcre2_set_glob_escape(pcre2_convert_context *ccontext, uint32_t escape) in pcre2_set_glob_escape() argument
495 if (escape > 255 || (escape != 0 && !ispunct(escape))) in pcre2_set_glob_escape()
497 ccontext->glob_escape = escape; in pcre2_set_glob_escape()
H A Dpcre2_convert.c586 BOOL with_escape, PCRE2_UCHAR escape, BOOL no_wildsep) in convert_glob_parse_range() argument
704 if (escape != 0 && c == escape) in convert_glob_parse_range()
728 if (escape != 0 && c == escape) in convert_glob_parse_range()
802 PCRE2_UCHAR escape = ccontext->glob_escape; in convert_glob() local
815 if (utf && (separator >= 128 || escape >= 128)) in convert_glob()
883 if (after_separator && escape != 0 && *pattern == escape && in convert_glob()
994 &out, utf, separator, with_escape, escape, no_wildsep); in convert_glob()
999 if (escape != 0 && c == escape) in convert_glob()
/php-src/ext/ldap/
H A Dldap.c3799 …oid php_ldap_escape_map_set_chars(bool *map, const char *chars, const size_t charslen, char escape) in php_ldap_escape_map_set_chars() argument
3803 map[(unsigned char) chars[i++]] = escape; in php_ldap_escape_map_set_chars()
/php-src/Zend/Optimizer/
H A Dsccp.c2007 static void join_phi_values(zval *a, zval *b, bool escape) { in join_phi_values() argument
2027 if (escape || join_partial_objects(a, b) == FAILURE) { in join_phi_values()
/php-src/Zend/tests/
H A Dwarning_during_heredoc_scan_ahead.phpt13 Warning: Octal escape sequence overflow \400 is greater than \377 in %s on line %d
15 Warning: Octal escape sequence overflow \400 is greater than \377 in %s on line %d
/php-src/ext/mbstring/tests/
H A Dencoding_tests.inc133 // way, without any escape sequences
H A Dmb_strcut.phpt23 …JP', 'UTF-8'); // [<escape sequence>1b2442 3441 3b7a <escape sequence>1b2842 20 61 62 63 20 <escap…
173 print "Bad escape sequence followed by null byte: [" . bin2hex(mb_strcut("\x1b\x00", 1, 100, "JIS")…
201 print "Bad escape sequence preceded by bad bytes: [" . bin2hex(mb_strcut("\xFF\xFF\x1B\x00", 0, 100…
203 print "Bad escape sequence followed by GR kana: [" . bin2hex(mb_strcut("\x1B\$\xAC\x13", 0, 100, 'C…
400 Bad escape sequence followed by null byte: []
422 Bad escape sequence preceded by bad bytes: [3f3f3f00]
424 Bad escape sequence followed by GR kana: []
/php-src/ext/pgsql/tests/
H A Dbug37100.phpt17 @pg_query("SET bytea_output = 'escape'");

Completed in 116 milliseconds

123456