3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_replace('/[\x{E000}-\x{F8FF}]/u', '', ' - ﷓ - ﴀ'));
Output for 4.3.3 - 5.3.23, 5.4.0 - 5.4.13, 5.4.41 - 7.2.0
string(12) " - ﷓ - ﴀ"
Output for 5.3.24 - 5.3.29, 5.4.14 - 5.4.40
NULL
Output for 4.3.0 - 4.3.2
Warning: Compilation failed: characters with values > 255 are not yet supported in classes at offset 8 in /in/fIEHm on line 2 NULL