3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo preg_replace('/[\x{300}-\x{36F}]/','',("eradàsdşğüğşşç.öç"));
based on sjEbF
Output for 5.4.41 - 5.6.28, 7.0.0 - 7.1.0
Warning: preg_replace(): Compilation failed: character value in \x{} or \o{} is too large at offset 7 in /in/bWsr8 on line 2
Output for hhvm-3.12.0
Warning: Compilation failed: character value in \x{} or \o{} is too large at offset 7 in /in/bWsr8 on line 2
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.4.3 - 4.4.9, 5.1.3 - 5.4.40
Warning: preg_replace(): Compilation failed: character value in \x{...} sequence is too large at offset 7 in /in/bWsr8 on line 2
Output for 4.3.11 - 4.4.2, 5.0.0 - 5.1.2
Warning: preg_replace(): Compilation failed: range out of order in character class at offset 10 in /in/bWsr8 on line 2
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: range out of order in character class at offset 10 in /in/bWsr8 on line 2