/PHP-8.0/ |
H A D | NEWS | 36 . Fixed bug #81740 (PDO::quote() may return unquoted string). (CVE-2022-31631)
|
/PHP-8.0/main/ |
H A D | rfc1867.c | 476 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 D | bug81740.phpt | 2 Bug #81740 (PDO::quote() may return unquoted string) 15 var_dump($pdo->quote($string));
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | zlog.c | 579 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 D | zlog.h | 99 void zlog_stream_set_msg_quoting(struct zlog_stream *stream, zlog_bool quote);
|
/PHP-8.0/Zend/ |
H A D | zend_API.c | 4501 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 D | mbstring.c | 570 … *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 D | pdo_dbh_arginfo.h | 72 ZEND_METHOD(PDO, quote); 90 ZEND_ME(PDO, quote, arginfo_class_PDO_quote, ZEND_ACC_PUBLIC)
|
H A D | pdo_dbh.stub.php | 43 public function quote(string $string, int $type = PDO::PARAM_STR) {} function in PDO
|
H A D | pdo_dbh.c | 1130 PHP_METHOD(PDO, quote) in PHP_METHOD() argument
|
H A D | pdo_sql_parser.re | 206 /* let's quote all the values */
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli_api.c | 1881 # define mysql_real_escape_string_quote(mysql, to, from, length, quote) \ argument
|
/PHP-8.0/ext/pdo_mysql/ |
H A D | mysql_driver.c | 306 # define mysql_real_escape_string_quote(mysql, to, from, length, quote) \ argument
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | bug_41125.phpt | 2 Bug #41125 (PDO mysql + quote() + prepare() can result in segfault)
|
H A D | pdo_mysql_exec_load_data.phpt | 83 …ILE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'", $db->quote($filename));
|
H A D | bug41125.phpt | 2 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 D | pdo_mysql_prepare_emulated.phpt | 185 $db->quote('%ro%')); 192 $db->quote('%ro%')); 294 $db->quote('%ro%')); 301 $db->quote('%ro%'));
|
/PHP-8.0/win32/build/ |
H A D | confutils.js | 2673 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 D | libtool.m4 | 112 # 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 D | fail24.json | 1 ['single quote']
|
/PHP-8.0/sapi/cli/tests/ |
H A D | 016.phpt | 27 quote'; 80 php ' quote'; 83 quote
|
H A D | 017.phpt | 27 quote'; 78 quote
|
/PHP-8.0/ext/xsl/tests/ |
H A D | xsltprocessor_setparameter-errorquote.phpt | 19 …r::transformToXml(): Cannot create XPath expression (string contains both quote and double-quotes)…
|
H A D | bug48221.phpt | 15 …r::transformToXml(): Cannot create XPath expression (string contains both quote and double-quotes)…
|
/PHP-8.0/ext/tidy/tests/ |
H A D | 027.phpt | 18 'quote-marks' => true,
|