Home
last modified time | relevance | path

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

1234

/PHP-7.1/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('über', PDO::PARAM_STR));
/PHP-7.1/ext/standard/tests/strings/
H A Dstrrchr_variation6.phpt2 Test strrchr() function : usage variations - heredoc string containing quote chars for 'haystack'
10 /* Test strrchr() function by passing heredoc string containing quote chars for haystack
16 "things" "in" "double" "quote"
17 'things' 'in' 'single' 'quote'
25 "quote",
39 'things' 'in' 'single' 'quote'"
41 string(14) "ingle' 'quote'"
42 string(6) "quote'"
44 'things' 'in' 'single' 'quote'"
H A Dhtmlspecialchars_decode_variation5.phpt17 …"Roy&#039s height > Sam's \$height... 1111 ≈ 0000 = 0000... " double quote string …
18 …"Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string…
40 string(89) "Roy&#039s height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string…
41 string(89) "Roy&#039s height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string…
42 string(99) "Roy&#039s height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote s…
43 string(84) "Roy&#039s height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string ""
47 " double quote string ""
50 " double quote string ""
53 " double quote string ""
56 " double quote string ""
H A Dhtmlspecialchars_decode_variation2.phpt17 // value initialized = Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote str…
99 …Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
102 …Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
110 …;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</htm…
113 …;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</htm…
141 …;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</htm…
144 …;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</htm…
147 string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote st…
150 …;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</htm…
153 string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote st…
[all …]
H A Dhtmlspecialchars_decode_variation4.phpt18 …'Roy&#039s height &gt; Sam&#039;s \$height... 1111 &ap; 0000 = 0000... &quot; double quote string …
19 …'Roy&#039;s height &gt; Sam&#039;s height... \t\t 13 &lt; 15...\n\r &quot; double quote\f\v string…
41 string(90) "Roy&#039s height > Sam&#039;s \$height... 1111 &ap; 0000 = 0000... " double quote strin…
42 string(90) "Roy&#039s height > Sam&#039;s \$height... 1111 &ap; 0000 = 0000... " double quote strin…
43 string(100) "Roy&#039s height > Sam&#039;s \$height... 1111 &ap; 0000 = 0000... &quot; double quote
44 string(85) "Roy&#039s height > Sam's \$height... 1111 &ap; 0000 = 0000... " double quote string ""
46 string(88) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r " double quote\f\v string …
47 string(88) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r " double quote\f\v string …
48 string(98) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r &quot; double quote\f\v st…
49 string(78) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string ""
H A Dstrrpos_variation6.phpt15 echo "-- With heredoc string containing quote & slash chars --\n";
18 "things in double quote"
19 'things in single quote'
30 -- With heredoc string containing quote & slash chars --
H A Dstripos_variation6.phpt15 echo "-- With heredoc string containing quote & slash chars --\n";
18 "things in double quote"
19 'things in single quote'
30 -- With heredoc string containing quote & slash chars --
H A Dhtmlspecialchars_decode_variation3.phpt46 // heredoc with quote chars & slash
49 "strings in double quote" &amp;
50 'strings in single quote' &quot;
97 "strings in double quote" &
98 'strings in single quote' "
H A Dstrip_tags_variation5.phpt49 // heredoc with quote chars & slash
52 "strings in double quote";
53 'strings in single quote';
102 "strings in double quote";
103 'strings in single quote';
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>";
318 *** Testing htmlentites() on a quote ***
319 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
320 string(46) "A &#039;quote&#039; is &lt;b&gt;bold&lt;/b&gt;"
321 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
322 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
H A Dhtmlspecialchars.phpt30 /* checking behavior of quote */
31 echo "\n*** Testing htmlspecialchars() on a quote...\n";
32 $str = "A 'quote' is <b>bold</b>";
319 *** Testing htmlspecialchars() on a quote...
320 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
321 string(46) "A &#039;quote&#039; is &lt;b&gt;bold&lt;/b&gt;"
322 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
323 string(36) "A 'quote' is &lt;b&gt;bold&lt;/b&gt;"
H A Dstrncasecmp_variation9.phpt41 /* heredoc string with quote chars & slash */
44 "things in double quote"
45 'things in single quote'
H A Ducwords_variation2.phpt45 // heredoc with quote chars & slash
48 "things in double quote"
49 'things in single quote'
/PHP-7.1/ext/standard/tests/array/
H A Dbug25758.phpt5 $a = array ("quote'" => array("quote'"));
10 'quote\'' =>
12 0 => 'quote\'',
H A Darray_unshift_variation9.phpt49 // heredoc with quote chars & slash
52 "strings in double quote";
53 'strings in single quote';
279 "strings in double quote";
280 'strings in single quote';
295 "strings in double quote";
296 'strings in single quote';
/PHP-7.1/ext/pdo_mysql/tests/
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-7.1/ext/pcre/pcrelib/testdata/
H A Dtestinput14104 " (?: # opening quote...
108 )* " # closing quote
118 " (?: # opening quote...
122 )* " # closing quote
155 " (?: # opening quote...
159 )* " # closing quote
167 " (?: # opening quote...
171 )* " # closing quote
237 " (?: # opening quote...
241 )* " # closing quote
[all …]
H A Dtestinput1722 " (?: # opening quote...
26 )* " # closing quote
36 " (?: # opening quote...
40 )* " # closing quote
73 " (?: # opening quote...
77 )* " # closing quote
85 " (?: # opening quote...
89 )* " # closing quote
155 " (?: # opening quote...
159 )* " # closing quote
[all …]
H A Dtestoutput14171 " (?: # opening quote...
175 )* " # closing quote
185 " (?: # opening quote...
189 )* " # closing quote
222 " (?: # opening quote...
226 )* " # closing quote
234 " (?: # opening quote...
238 )* " # closing quote
304 " (?: # opening quote...
308 )* " # closing quote
[all …]
H A Dtestoutput1738 " (?: # opening quote...
42 )* " # closing quote
52 " (?: # opening quote...
56 )* " # closing quote
89 " (?: # opening quote...
93 )* " # closing quote
101 " (?: # opening quote...
105 )* " # closing quote
171 " (?: # opening quote...
175 )* " # closing quote
[all …]
/PHP-7.1/sapi/cli/tests/
H A D016.phpt27 quote';
80 php ' quote';
83 quote
/PHP-7.1/ext/pcre/tests/
H A Dbug41148.phpt23 /* 13 */ "/<quote>/S",
24 /* 14 */ "/<\/quote>/S"
/PHP-7.1/ext/pdo/tests/
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

Completed in 71 milliseconds

1234