Lines Matching refs:preg_grep
2 Test preg_grep() function : error conditions - bad regular expressions
6 * proto array preg_grep(string regex, array input [, int flags])
11 * Testing how preg_grep reacts to being passed bad regexes
13 echo "*** Testing preg_grep() : error conditions ***\n";
23 var_dump(preg_grep($value, $array));
26 var_dump(preg_grep($value, $array));
31 *** Testing preg_grep() : error conditions ***
35 Warning: preg_grep(): Delimiter must not be alphanumeric or backslash in %spreg_grep_error1.php on …
40 Warning: preg_grep(): No ending delimiter '/' found in %spreg_grep_error1.php on line %d
45 Warning: preg_grep(): Unknown modifier '/' in %spreg_grep_error1.php on line %d
50 Warning: preg_grep(): Unknown modifier 'F' in %spreg_grep_error1.php on line %d
55 Warning: preg_grep() expects parameter 1 to be string, array given in %spreg_grep_error1.php on lin…
66 Warning: preg_grep() expects parameter 1 to be string, object given in %spreg_grep_error1.php on li…