Searched refs:preg_quote (Results 1 – 14 of 14) sorted by relevance
/PHP-5.6/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.6/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_phpinfo.phpt | 21 $reg = 'Client API version.*' . preg_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/');
|
/PHP-5.6/sapi/cli/tests/ |
H A D | 006.phpt | 116 Function [ <internal:pcre> function preg_quote ] {
|
/PHP-5.6/sapi/phpdbg/tests/ |
H A D | run-tests.php | 408 self::$format['replace'], preg_quote($line));
|
/PHP-5.6/ext/pcre/ |
H A D | php_pcre.c | 1737 static PHP_FUNCTION(preg_quote) in PHP_FUNCTION() argument 2022 PHP_FE(preg_quote, arginfo_preg_quote)
|
/PHP-5.6/ |
H A D | run-tests.php | 1943 $temp = $temp . preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/'); 2052 $wanted_re = preg_quote($wanted_headers . "\n--HEADERS--\n", '/') . $wanted_re;
|
H A D | server-tests.php | 1447 $temp = $temp . preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/');
|
H A D | NEWS | 7743 - Fixed bug #47229 (preg_quote() should escape the '-' char). (Nuno)
|
/PHP-5.6/Zend/ |
H A D | zend_vm_gen.php | 485 $code = preg_replace('/'.preg_quote($match[0],'/').'/', "\$D$n", $code);
|
Completed in 61 milliseconds