Lines Matching refs:preg_grep
2 Test preg_grep() function : error conditions - bad regular expressions
9 * Testing how preg_grep reacts to being passed bad regexes
11 echo "*** Testing preg_grep() : error conditions ***\n";
22 var_dump(preg_grep($value, $array));
29 var_dump(preg_grep($value, $array));
36 *** Testing preg_grep() : error conditions ***
40 Warning: preg_grep(): Delimiter must not be alphanumeric, backslash, or NUL in %spreg_grep_error1.p…
45 Warning: preg_grep(): No ending delimiter '/' found in %spreg_grep_error1.php on line %d
50 Warning: preg_grep(): Unknown modifier '/' in %spreg_grep_error1.php on line %d
55 Warning: preg_grep(): Unknown modifier 'F' in %spreg_grep_error1.php on line %d
59 preg_grep(): Argument #1 ($pattern) must be of type string, array given
68 preg_grep(): Argument #1 ($pattern) must be of type string, stdClass given