3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // your code goes here $test = "moind3re pro_blème"; var_dump(preg_match("/^[a-zA-Z\x00C0-\x017F]/u", $test)); //var_dump (filter_var($test, FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW));
based on Xo5PQ
Output for 5.4.7 - 7.1.0
Warning: preg_match(): Null byte in regex in /in/df4OD on line 6 bool(false)
Output for 4.3.11 - 5.0.5, 5.1.1 - 5.4.6
Warning: preg_match(): No ending delimiter '/' found in /in/df4OD on line 6 bool(false)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/df4OD on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.10
Warning: No ending delimiter '/' found in /in/df4OD on line 6 bool(false)