Lines Matching refs:preg_split
2 Test preg_split() function : error conditions - bad regular expressions
9 * Testing how preg_split reacts to being passed the wrong type of regex argument
11 echo "*** Testing preg_split() : error conditions ***\n";
22 var_dump(preg_split($regex_value, $subject));
29 var_dump(preg_split($regex_value, $subject));
35 *** Testing preg_split() : error conditions ***
39 Warning: preg_split(): Delimiter must not be alphanumeric, backslash, or NUL in %spreg_split_error1…
44 Warning: preg_split(): No ending delimiter '/' found in %spreg_split_error1.php on line %d
49 Warning: preg_split(): Unknown modifier '/' in %spreg_split_error1.php on line %d
54 Warning: preg_split(): Unknown modifier 'F' in %spreg_split_error1.php on line %d
58 preg_split(): Argument #1 ($pattern) must be of type string, array given
69 preg_split(): Argument #1 ($pattern) must be of type string, stdClass given