Searched refs:preg_quote (Results 1 – 12 of 12) sorted by relevance
/PHP-5.3/ext/pcre/tests/ |
H A D | preg_quote_error.phpt | 2 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 D | preg_quote_error1.phpt | 2 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 D | preg_quote_basic.phpt | 2 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 D | bug26927.phpt | 2 Bug #26927 (preg_quote() does not escape \0) 6 $str_quoted = preg_quote($str);
|
H A D | 002.phpt | 10 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 D | bug47229.phpt | 2 Bug #47229 (preg_quote() doesn't escape -) 6 var_dump(preg_quote('-oh really?'));
|
/PHP-5.3/sapi/cli/tests/ |
H A D | 006.phpt | 116 Function [ <internal:pcre> function preg_quote ] {
|
/PHP-5.3/ext/pcre/ |
H A D | php_pcre.c | 1624 static PHP_FUNCTION(preg_quote) in PHP_FUNCTION() argument 1903 PHP_FE(preg_quote, arginfo_preg_quote)
|
/PHP-5.3/Zend/ |
H A D | zend_vm_gen.php | 443 $code = preg_replace('/'.preg_quote($match[0],'/').'/', "\$D$n", $code);
|
/PHP-5.3/ |
H A D | run-tests.php | 1907 $temp = $temp . preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/'); 2016 $wanted_re = preg_quote($wanted_headers . "\n--HEADERS--\n", '/') . $wanted_re;
|
H A D | server-tests.php | 1428 $wanted_re = preg_quote($wanted_re, '/');
|
H A D | NEWS | 3115 - Fixed bug #47229 (preg_quote() should escape the '-' char). (Nuno)
|
Completed in 71 milliseconds