/php-src/ext/dom/tests/ |
H A D | gh10234.phpt | 28 $attribute->textContent = 'quote "test"'; 32 $attribute->textContent = "quote 'test'"; 36 $attribute->textContent = "quote '\"test\"'"; 50 $document->documentElement->textContent = 'quote "test"'; 72 string(12) "quote "test"" 75 string(12) "quote 'test'" 78 string(14) "quote '"test"'" 88 string(12) "quote "test"" 89 string(69) "<element attribute="quote '"test"'">quote "test"</element> 91 string(12) "quote 'test'" [all …]
|
H A D | gh13960.phpt | 11 $xp->query("//foo[contains(text(), " . $xp->quote("tes\x00t") . ")]"); 17 DOMXPath::quote(): Argument #1 ($str) must not contain any null bytes
|
H A D | DOMXPath_quote.phpt | 2 Test DOMXPath::quote with various inputs 16 * Example: $xp->query("//span[contains(text()," . $xp->quote($string) . ")]") 18 * @param string $string string to quote. 30 // expression that concatenates all non-double-quote substrings with 63 $result = $xpath->quote($input);
|
/php-src/ext/pdo_dblib/tests/ |
H A D | pdo_dblib_quote.phpt | 2 PDO_DBLIB: Ensure quote function returns expected results 14 var_dump($db->quote(true, PDO::PARAM_BOOL)); 15 var_dump($db->quote(false, PDO::PARAM_BOOL)); 16 var_dump($db->quote(42, PDO::PARAM_INT)); 17 var_dump($db->quote(null, PDO::PARAM_NULL)); 18 var_dump($db->quote('\'', PDO::PARAM_STR)); 19 var_dump($db->quote('foo', PDO::PARAM_STR)); 20 var_dump($db->quote('foo', PDO::PARAM_STR | PDO::PARAM_STR_CHAR)); 21 var_dump($db->quote('über', PDO::PARAM_STR | PDO::PARAM_STR_NATL)); 27 var_dump($db->quote('foo', PDO::PARAM_STR | PDO::PARAM_STR_CHAR)); [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | strrchr_variation6.phpt | 2 Test strrchr() function : usage variations - heredoc string containing quote chars for 'haystack' 5 /* Test strrchr() function by passing heredoc string containing quote chars for haystack 11 "things" "in" "double" "quote" 12 'things' 'in' 'single' 'quote' 20 "quote", 34 'things' 'in' 'single' 'quote'" 36 string(14) "ingle' 'quote'" 37 string(6) "quote'" 39 'things' 'in' 'single' 'quote'"
|
H A D | htmlspecialchars_decode_variation5.phpt | 12 …"Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string … 13 …"Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string… 35 string(84) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string "" 36 string(89) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string… 37 string(99) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote s… 38 string(84) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string "" 42 " double quote string "" 45 " double quote string "" 48 " double quote string "" 51 " double quote string ""
|
H A D | htmlspecialchars_decode_variation4.phpt | 13 …'Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string … 14 …'Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string… 36 string(85) "Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string "" 37 string(90) "Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote strin… 38 string(100) "Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote… 39 string(85) "Roy's height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string "" 41 string(78) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string "" 42 string(88) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string … 43 string(98) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v st… 44 string(78) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string ""
|
H A D | stripos_variation6.phpt | 10 echo "-- With heredoc string containing quote & slash chars --\n"; 13 "things in double quote" 14 'things in single quote' 25 -- With heredoc string containing quote & slash chars --
|
H A D | strrpos_variation6.phpt | 10 echo "-- With heredoc string containing quote & slash chars --\n"; 13 "things in double quote" 14 'things in single quote' 25 -- With heredoc string containing quote & slash chars --
|
H A D | htmlspecialchars_decode_variation3.phpt | 41 // heredoc with quote chars & slash 44 "strings in double quote" & 45 'strings in single quote' " 92 "strings in double quote" & 93 'strings in single quote' "
|
H A D | strip_tags_variation5.phpt | 41 // heredoc with quote chars & slash 44 "strings in double quote"; 45 'strings in single quote'; 94 "strings in double quote"; 95 'strings in single quote';
|
H A D | htmlentities24.phpt | 28 /* checking behavior of quote */ 29 echo "\n*** Testing htmlentites() on a quote ***\n"; 30 $str = "A 'quote' is <b>bold</b>"; 308 *** Testing htmlentites() on a quote *** 309 string(46) "A 'quote' is <b>bold</b>" 310 string(46) "A 'quote' is <b>bold</b>" 311 string(36) "A 'quote' is <b>bold</b>" 312 string(36) "A 'quote' is <b>bold</b>"
|
H A D | htmlspecialchars.phpt | 24 /* checking behavior of quote */ 25 echo "\n*** Testing htmlspecialchars() on a quote...\n"; 26 $str = "A 'quote' is <b>bold</b>"; 304 *** Testing htmlspecialchars() on a quote... 305 string(46) "A 'quote' is <b>bold</b>" 306 string(46) "A 'quote' is <b>bold</b>" 307 string(36) "A 'quote' is <b>bold</b>" 308 string(36) "A 'quote' is <b>bold</b>"
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_quote.phpt | 2 MySQL ensure quote function returns expected results 15 var_dump($db->quote('foo', PDO::PARAM_STR)); 16 var_dump($db->quote('foo', PDO::PARAM_STR | PDO::PARAM_STR_CHAR)); 17 var_dump($db->quote('über', PDO::PARAM_STR | PDO::PARAM_STR_NATL)); 23 var_dump($db->quote('foo', PDO::PARAM_STR | PDO::PARAM_STR_CHAR)); 24 var_dump($db->quote('über', PDO::PARAM_STR)); 25 var_dump($db->quote('über', PDO::PARAM_STR | PDO::PARAM_STR_NATL));
|
H A D | bug66141.phpt | 2 Bug #66141 (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES after failed query) 17 $quotedInput0 = $db->quote($input); 23 $quotedInput1 = $db->quote($input); 27 $quotedInput2 = $db->quote($input);
|
H A D | pdo_mysql_quote_binary.phpt | 2 MySQL PDO->quote(), properly handle binary data 21 $quoted = $db->quote($content, PDO::PARAM_LOB);
|
/php-src/ext/standard/tests/array/ |
H A D | bug25758.phpt | 5 $a = array ("quote'" => array("quote'")); 10 'quote\'' => 12 0 => 'quote\'',
|
H A D | array_unshift_variation9.phpt | 44 // heredoc with quote chars & slash 47 "strings in double quote"; 48 'strings in single quote'; 274 "strings in double quote"; 275 'strings in single quote'; 290 "strings in double quote"; 291 'strings in single quote';
|
/php-src/ext/fileinfo/libmagic/ |
H A D | is_csv.c | 69 int quote = 0; in eatquote() local 75 if (quote) { in eatquote() 80 if (quote) { in eatquote() 82 quote = 0; in eatquote() 86 quote = 1; in eatquote()
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug81740.phpt | 2 Bug #81740 (PDO::quote() may return unquoted string) 17 var_dump($pdo->quote($string));
|
H A D | bug_47769.phpt | 17 public function quote($str, $paramtype = NULL): string|false { 27 $test->quote('foo');
|
/php-src/ext/pdo/tests/ |
H A D | pdo_quote_empty_string.phpt | 2 PDO::quote() must accept empty string for drivers which support this feature 21 $result = $pdo->quote('');
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | pdopgsql_003.phpt | 21 echo $db->escapeIdentifier("This is a quote\"") . "\n"; 30 "This is a quote"""
|
/php-src/sapi/cli/tests/ |
H A D | 016.phpt | 29 quote'; 82 php ' quote'; 85 quote
|
/php-src/ext/pcre/tests/ |
H A D | bug41148.phpt | 23 /* 13 */ "/<quote>/S", 24 /* 14 */ "/<\/quote>/S"
|