Searched refs:preg_quote (Results 1 – 17 of 17) sorted by relevance
/PHP-7.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 | bug75355.phpt | 2 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 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('')); 28 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?'));
|
H A D | bug76514.phpt | 495 (?P<property>'.preg_quote('"require"').'\s*:\s*)(?P<value>(?&json))(?P<end>.*)}sx', $str, $match);
|
/PHP-7.3/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-7.3/ext/mbstring/tests/ |
H A D | mbregex_stack_limit2.phpt | 13 …for( $x=0; $x<iconv_strlen( $chars ); $x++ ) $chars_array[] = preg_quote( iconv_substr( $chars, $x…
|
/PHP-7.3/sapi/cli/tests/ |
H A D | 006.phpt | 136 Function [ <internal:pcre> function preg_quote ] {
|
/PHP-7.3/ |
H A D | run-tests.php | 2071 $temp .= preg_quote(substr($wanted_re, $startOffset, $start - $startOffset), '/'); 2153 $wanted_re = preg_quote($wanted_headers . "\n--HEADERS--\n", '/') . $wanted_re;
|
H A D | server-tests.php | 1434 $temp .= preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/');
|
H A D | UPGRADING | 389 . preg_quote() now also escapes the '#' character.
|
H A D | NEWS | 1608 . Fixed bug #75355 (preg_quote() does not quote # control character).
|
/PHP-7.3/ext/pcre/ |
H A D | php_pcre.c | 2687 static PHP_FUNCTION(preg_quote) in PHP_FUNCTION() argument 3022 PHP_FE(preg_quote, arginfo_preg_quote)
|
/PHP-7.3/Zend/ |
H A D | zend_vm_gen.php | 998 $code = preg_replace('/'.preg_quote($match[0],'/').'/', "\$D$n", $code);
|
Completed in 50 milliseconds