3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match('/(?P<year>[0-9]{4})$/', '20054', $m); var_dump($m);