3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(); preg_match('/$([0-9]+) *- *\.html^/', "2-blabla.html", $matches); var_dump($matches);

preferences:
37.62 ms | 402 KiB | 5 Q