Home
last modified time | relevance | path

Searched refs:quote (Results 1 – 25 of 85) sorted by relevance

1234

/PHP-8.0/ext/pdo_dblib/tests/
H A Dpdo_dblib_quote.phpt2 PDO_DBLIB: Ensure quote function returns expected results
11 var_dump($db->quote(true, PDO::PARAM_BOOL));
12 var_dump($db->quote(false, PDO::PARAM_BOOL));
13 var_dump($db->quote(42, PDO::PARAM_INT));
14 var_dump($db->quote(null, PDO::PARAM_NULL));
15 var_dump($db->quote('\'', PDO::PARAM_STR));
16 var_dump($db->quote('foo', PDO::PARAM_STR));
17 var_dump($db->quote('foo', PDO::PARAM_STR | PDO::PARAM_STR_CHAR));
18 var_dump($db->quote('über', PDO::PARAM_STR | PDO::PARAM_STR_NATL));
24 var_dump($db->quote('foo', PDO::PARAM_STR | PDO::PARAM_STR_CHAR));
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Dstrrchr_variation6.phpt2 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 Dhtmlspecialchars_decode_variation5.phpt12 …"Roy&#039s 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(89) "Roy&#039s height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string…
36 string(89) "Roy&#039s height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string…
37 string(99) "Roy&#039s height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote s…
38 string(84) "Roy&#039s 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 Dhtmlspecialchars_decode_variation4.phpt13 …'Roy&#039s 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(90) "Roy&#039s height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote strin…
37 string(90) "Roy&#039s height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote strin…
38 string(100) "Roy&#039s height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote
39 string(85) "Roy&#039s height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string ""
41 string(88) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r " double quote\f\v string …
42 string(88) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r " double quote\f\v string …
43 string(98) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r &quot; 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 Dstripos_variation6.phpt10 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 Dstrrpos_variation6.phpt10 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 Dstrip_tags_variation5.phpt41 // 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 Dhtmlspecialchars_decode_variation3.phpt41 // heredoc with quote chars & slash
44 "strings in double quote" &amp;
45 'strings in single quote' &quot;
92 "strings in double quote" &
93 'strings in single quote' "
H A Dhtmlspecialchars.phpt26 /* checking behavior of quote */
27 echo "\n*** Testing htmlspecialchars() on a quote...\n";
28 $str = "A 'quote' is <b>bold</b>";
308 *** Testing htmlspecialchars() on a quote...
309 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
310 string(46) "A &#039;quote&#039; is &lt;b&gt;bold&lt;/b&gt;"
311 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
312 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
H A Dhtmlentities24.phpt30 /* checking behavior of quote */
31 echo "\n*** Testing htmlentites() on a quote ***\n";
32 $str = "A 'quote' is <b>bold</b>";
312 *** Testing htmlentites() on a quote ***
313 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
314 string(46) "A &#039;quote&#039; is &lt;b&gt;bold&lt;/b&gt;"
315 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
316 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
H A Dstrncasecmp_variation9.phpt36 /* heredoc string with quote chars & slash */
39 "things in double quote"
40 'things in single quote'
H A Ducwords_variation2.phpt40 // heredoc with quote chars & slash
43 "things in double quote"
44 'things in single quote'
/PHP-8.0/ext/standard/tests/array/
H A Dbug25758.phpt5 $a = array ("quote'" => array("quote'"));
10 'quote\'' =>
12 0 => 'quote\'',
H A Darray_unshift_variation9.phpt44 // 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-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_quote.phpt2 MySQL ensure quote function returns expected results
14 var_dump($db->quote('foo', PDO::PARAM_STR));
15 var_dump($db->quote('foo', PDO::PARAM_STR | PDO::PARAM_STR_CHAR));
16 var_dump($db->quote('über', PDO::PARAM_STR | PDO::PARAM_STR_NATL));
22 var_dump($db->quote('foo', PDO::PARAM_STR | PDO::PARAM_STR_CHAR));
23 var_dump($db->quote('über', PDO::PARAM_STR));
24 var_dump($db->quote('über', PDO::PARAM_STR | PDO::PARAM_STR_NATL));
H A Dbug66141.phpt2 Bug #66141 (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES after failed query)
16 $quotedInput0 = $db->quote($input);
22 $quotedInput1 = $db->quote($input);
26 $quotedInput2 = $db->quote($input);
/PHP-8.0/ext/fileinfo/libmagic/
H A Dis_csv.c69 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-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/ext/pdo/tests/
H A Dpdo_quote_empty_string.phpt2 PDO::quote() must accept empty string for drivers which support this feature
20 $result = $pdo->quote('');
H A Dbug_47769.phpt20 public function quote($str, $paramtype = NULL) {
28 $test->quote('foo');
H A Dpdo_033.phpt2 PDO Common: PDO::quote()
20 $quoted = $db->quote($unquoted);
H A Dbug_71447.phpt43 // Comment with single quote
53 // C-Style comment with single quote
63 // Comment with double quote
/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
/PHP-8.0/ext/pcre/tests/
H A Dbug41148.phpt23 /* 13 */ "/<quote>/S",
24 /* 14 */ "/<\/quote>/S"

Completed in 35 milliseconds

1234