3v4l.org

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

preferences:
34.38 ms | 402 KiB | 5 Q