3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_replace("[^[:alnum:]]", "", "ignac8e+to:to@example.com");
based on 32oa4
Output for 4.3.11 - 7.2.0
Warning: preg_replace(): Compilation failed: POSIX named classes are supported only within a class at offset 1 in /in/D9TJB on line 3
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: POSIX named classes are supported only within a class at offset 1 in /in/D9TJB on line 3