Lines Matching refs:preg_replace
2 Test preg_replace() function : error - bad regular expressions
9 * Testing how preg_replace reacts to being passed the wrong type of regex argument
11 echo "*** Testing preg_replace() : error conditions***\n";
22 var_dump(preg_replace($regex_value, $replace, $subject));
26 var_dump(preg_replace($regex_value, $replace, $subject));
32 *** Testing preg_replace() : error conditions***
36 Warning: preg_replace(): Delimiter must not be alphanumeric, backslash, or NUL in %spreg_replace_er…
41 Warning: preg_replace(): No ending delimiter '/' found in %spreg_replace_error1.php on line %d
46 Warning: preg_replace(): Unknown modifier '/' in %spreg_replace_error1.php on line %d
51 Warning: preg_replace(): Unknown modifier 'F' in %spreg_replace_error1.php on line %d
59 preg_replace(): Argument #1 ($pattern) must be of type array|string, stdClass given