3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match('/[\w-.]+/', '');
Output for 7.3.0
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3 in /in/36PGQ on line 3
Output for 5.6.38, hhvm-3.18.5 - 3.22.0, 7.0.33 - 7.2.13