Home
last modified time | relevance | path

Searched refs:quote (Results 1 – 25 of 85) sorted by last modified time

1234

/PHP-8.0/
H A DNEWS36 . Fixed bug #81740 (PDO::quote() may return unquoted string). (CVE-2022-31631)
/PHP-8.0/main/
H A Drfc1867.c476 char *pos = *line, quote; in php_ap_getword() local
480 if ((quote = *pos) == '"' || quote == '\'') { in php_ap_getword()
482 while (*pos && *pos != quote) { in php_ap_getword()
483 if (*pos == '\\' && pos[1] && pos[1] == quote) { in php_ap_getword()
510 static char *substring_conf(char *start, int len, char quote) in substring_conf() argument
516 for (i = 0; i < len && start[i] != quote; ++i) { in substring_conf()
517 if (start[i] == '\\' && (start[i + 1] == '\\' || (quote && start[i + 1] == quote))) { in substring_conf()
539 char quote = *str; in php_ap_getword_conf() local
542 return substring_conf(str, (int)strlen(str), quote); in php_ap_getword_conf()
/PHP-8.0/ext/pdo_sqlite/tests/
H A Dbug81740.phpt2 Bug #81740 (PDO::quote() may return unquoted string)
15 var_dump($pdo->quote($string));
/PHP-8.0/sapi/fpm/fpm/
H A Dzlog.c579 void zlog_stream_set_msg_quoting(struct zlog_stream *stream, zlog_bool quote) /* {{{ */ in zlog_stream_set_msg_quoting() argument
581 stream->msg_quote = quote && stream->decorate ? 1 : 0; in zlog_stream_set_msg_quoting()
H A Dzlog.h99 void zlog_stream_set_msg_quoting(struct zlog_stream *stream, zlog_bool quote);
/PHP-8.0/Zend/
H A Dzend_API.c4501 static zend_string *try_parse_string(const char *str, size_t len, char quote) { in try_parse_string() argument
4507 if (str[i] == '\\' || str[i] == quote) { in try_parse_string()
/PHP-8.0/ext/mbstring/
H A Dmbstring.c570 … *php_mb_rfc1867_substring_conf(const zend_encoding *encoding, char *start, size_t len, char quote) in php_mb_rfc1867_substring_conf() argument
576 for (i = 0; i < len && start[i] != quote; ++i) { in php_mb_rfc1867_substring_conf()
577 if (start[i] == '\\' && (start[i + 1] == '\\' || (quote && start[i + 1] == quote))) { in php_mb_rfc1867_substring_conf()
595 char *pos = *line, quote; in php_mb_rfc1867_getword() local
599 if ((quote = *pos) == '"' || quote == '\'') { in php_mb_rfc1867_getword()
601 while (*pos && *pos != quote) { in php_mb_rfc1867_getword()
602 if (*pos == '\\' && pos[1] && pos[1] == quote) { in php_mb_rfc1867_getword()
644 char quote = *str; in php_mb_rfc1867_getword_conf() local
647 return php_mb_rfc1867_substring_conf(encoding, str, strlen(str), quote); in php_mb_rfc1867_getword_conf()
/PHP-8.0/ext/pdo/
H A Dpdo_dbh_arginfo.h72 ZEND_METHOD(PDO, quote);
90 ZEND_ME(PDO, quote, arginfo_class_PDO_quote, ZEND_ACC_PUBLIC)
H A Dpdo_dbh.stub.php43 public function quote(string $string, int $type = PDO::PARAM_STR) {} function in PDO
H A Dpdo_dbh.c1130 PHP_METHOD(PDO, quote) in PHP_METHOD() argument
H A Dpdo_sql_parser.re206 /* let's quote all the values */
/PHP-8.0/ext/mysqli/
H A Dmysqli_api.c1881 # define mysql_real_escape_string_quote(mysql, to, from, length, quote) \ argument
/PHP-8.0/ext/pdo_mysql/
H A Dmysql_driver.c306 # define mysql_real_escape_string_quote(mysql, to, from, length, quote) \ argument
/PHP-8.0/ext/pdo_mysql/tests/
H A Dbug_41125.phpt2 Bug #41125 (PDO mysql + quote() + prepare() can result in segfault)
H A Dpdo_mysql_exec_load_data.phpt83 …ILE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'", $db->quote($filename));
H A Dbug41125.phpt2 Bug #41125 (PDO mysql + quote() + prepare() can result in seg fault)
18 $sql = "SELECT 1 FROM DUAL WHERE 'o''riley' LIKE " . $db->quote('%' . $search . '%');
H A Dpdo_mysql_prepare_emulated.phpt185 $db->quote('%ro%'));
192 $db->quote('%ro%'));
294 $db->quote('%ro%'));
301 $db->quote('%ro%'));
/PHP-8.0/win32/build/
H A Dconfutils.js2673 function AC_DEFINE(name, value, comment, quote) argument
2675 if (quote == null) {
2676 quote = true;
2678 if (quote && typeof(value) == "string") {
/PHP-8.0/build/
H A Dlibtool.m4112 # Same as above, but do not quote variable references.
467 # backslashes. This makes it impossible to quote backslashes using
548 # Copy echo and quote the copy suitably for passing to libtool from
4026 # Now quote all the things that may contain metacharacters while being
4028 # variables and quote the copies for generation of the libtool script.
4089 # Double-quote double-evaled strings.
/PHP-8.0/sapi/fuzzer/corpus/json/
H A Dfail24.json1 ['single quote']
/PHP-8.0/sapi/cli/tests/
H A D016.phpt27 quote';
80 php ' quote';
83 quote
H A D017.phpt27 quote';
78 quote
/PHP-8.0/ext/xsl/tests/
H A Dxsltprocessor_setparameter-errorquote.phpt19 …r::transformToXml(): Cannot create XPath expression (string contains both quote and double-quotes)…
H A Dbug48221.phpt15 …r::transformToXml(): Cannot create XPath expression (string contains both quote and double-quotes)…
/PHP-8.0/ext/tidy/tests/
H A D027.phpt18 'quote-marks' => true,

Completed in 113 milliseconds

1234