3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match("#[\w-()]#", 'some text');
based on XGnNi
Output for 7.3.0
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3 in /in/OqMP4 on line 3
Output for 5.6.38 - 7.2.13