3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "tbx_20050120_tbx_full-2.pdf"; preg_match("/[0-9]{8}/", $input, $match); var_dump($match);

preferences:
50.33 ms | 402 KiB | 5 Q