Home
last modified time | relevance | path

Searched refs:preg_quote (Results 1 – 17 of 17) sorted by relevance

/PHP-7.3/ext/pcre/tests/
H A Dpreg_quote_error.phpt2 Test preg_quote() function : error conditions - wrong numbers of parameters
6 * proto string preg_quote(string str [, string delim_char])
9 echo "*** Testing preg_quote() : error conditions ***\n";
11 echo "\n-- Testing preg_quote() function with Zero arguments --\n";
12 var_dump(preg_quote());
13 //Test preg_quote with one more than the expected number of arguments
14 echo "\n-- Testing preg_quote() function with more than expected no. of arguments --\n";
18 var_dump(preg_quote($str, $delim_char, $extra_arg));
22 *** Testing preg_quote() : error conditions ***
24 -- Testing preg_quote() function with Zero arguments --
[all …]
H A Dpreg_quote_error1.phpt2 Test preg_quote() function : error conditions - wrong arg types
6 * proto string preg_quote(string str [, string delim_char])
11 * Testing how preg_quote reacts to being passed the wrong type of input argument
13 echo "*** Testing preg_quote() : error conditions ***\n";
17 var_dump(preg_quote($value));
20 var_dump(preg_quote($value));
24 *** Testing preg_quote() : error conditions ***
31 Warning: preg_quote() expects parameter 1 to be string, array given in %spreg_quote_error1.php on l…
34 Warning: preg_quote() expects parameter 1 to be string, object given in %spreg_quote_error1.php on …
H A Dbug75355.phpt2 Bug #75355 (preg_quote() does not quote # control character)
6 var_dump(preg_quote('#'));
8 var_dump(preg_match('~^(' . preg_quote('hello#world', '~') . ')\z~x', 'hello#world', $m));
H A Dpreg_quote_basic.phpt2 Test preg_quote() function : basic functionality
6 * proto string preg_quote(string str [, string delim_char])
11 $string_after = preg_quote($string_before, '/');
14 var_dump(preg_match('/^[tT]\w{6} - ' . preg_quote($string_before, '/') . ' [a-z]*\s*work$/', $strin…
H A Dbug26927.phpt2 Bug #26927 (preg_quote() does not escape \0)
6 $str_quoted = preg_quote($str);
H A D002.phpt10 var_dump(preg_quote());
11 var_dump(preg_quote(''));
28 Warning: preg_quote() expects at least 1 parameter, 0 given in %s002.php on line 7
H A Dbug47229.phpt2 Bug #47229 (preg_quote() doesn't escape -)
6 var_dump(preg_quote('-oh really?'));
H A Dbug76514.phpt495 (?P<property>'.preg_quote('"require"').'\s*:\s*)(?P<value>(?&json))(?P<end>.*)}sx', $str, $match);
/PHP-7.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_phpinfo.phpt21 $reg = 'Client API version.*' . preg_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/');
/PHP-7.3/ext/mbstring/tests/
H A Dmbregex_stack_limit2.phpt13 …for( $x=0; $x<iconv_strlen( $chars ); $x++ ) $chars_array[] = preg_quote( iconv_substr( $chars, $x…
/PHP-7.3/sapi/cli/tests/
H A D006.phpt136 Function [ <internal:pcre> function preg_quote ] {
/PHP-7.3/
H A Drun-tests.php2071 $temp .= preg_quote(substr($wanted_re, $startOffset, $start - $startOffset), '/');
2153 $wanted_re = preg_quote($wanted_headers . "\n--HEADERS--\n", '/') . $wanted_re;
H A Dserver-tests.php1434 $temp .= preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/');
H A DUPGRADING389 . preg_quote() now also escapes the '#' character.
H A DNEWS1608 . Fixed bug #75355 (preg_quote() does not quote # control character).
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c2687 static PHP_FUNCTION(preg_quote) in PHP_FUNCTION() argument
3022 PHP_FE(preg_quote, arginfo_preg_quote)
/PHP-7.3/Zend/
H A Dzend_vm_gen.php998 $code = preg_replace('/'.preg_quote($match[0],'/').'/', "\$D$n", $code);

Completed in 50 milliseconds