3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/(?:\D+|<\d+>)*[!?]/', 'foobar foobar foobar'); if (preg_last_error() == PREG_BACKTRACK_LIMIT_ERROR) { print 'Backtrack limit was exhausted!'; } ?>

preferences:
39.88 ms | 402 KiB | 5 Q