Lines Matching refs:preg_match
2 Test preg_match() function : error conditions - bad regular expressions
7 * Testing how preg_match reacts to being passed the wrong type of regex argument
9 echo "*** Testing preg_match() : error conditions ***\n";
20 var_dump(preg_match($regex_value, $subject));
27 var_dump(preg_match($regex_value, $subject));
33 *** Testing preg_match() : error conditions ***
37 Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in %spreg_match_error1…
42 Warning: preg_match(): No ending delimiter '/' found in %spreg_match_error1.php on line %d
47 Warning: preg_match(): Unknown modifier '/' in %spreg_match_error1.php on line %d
52 Warning: preg_match(): Unknown modifier 'F' in %spreg_match_error1.php on line %d
56 preg_match(): Argument #1 ($pattern) must be of type string, array given
60 preg_match(): Argument #1 ($pattern) must be of type string, stdClass given