3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text=" the line 150. the line the line 150."; preg_match_all("/ (the line) [0-9]+\./i",$text,$matches); print_r($matches);

preferences:
47.18 ms | 402 KiB | 5 Q