3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print preg_match('/-([0-9]+)$/', "asd-1132");
based on 9rPmA
Output for 4.3.0 - 7.1.0
1