Home
last modified time | relevance | path

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

/PHP-5.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 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(''));
29 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?'));
/PHP-5.3/sapi/cli/tests/
H A D006.phpt116 Function [ <internal:pcre> function preg_quote ] {
/PHP-5.3/ext/pcre/
H A Dphp_pcre.c1624 static PHP_FUNCTION(preg_quote) in PHP_FUNCTION() argument
1903 PHP_FE(preg_quote, arginfo_preg_quote)
/PHP-5.3/Zend/
H A Dzend_vm_gen.php443 $code = preg_replace('/'.preg_quote($match[0],'/').'/', "\$D$n", $code);
/PHP-5.3/
H A Drun-tests.php1907 $temp = $temp . preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/');
2016 $wanted_re = preg_quote($wanted_headers . "\n--HEADERS--\n", '/') . $wanted_re;
H A Dserver-tests.php1428 $wanted_re = preg_quote($wanted_re, '/');
H A DNEWS3115 - Fixed bug #47229 (preg_quote() should escape the '-' char). (Nuno)

Completed in 39 milliseconds