3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = <<<EOT The big bang bonged under the bung. EOT; preg_match_all('@b.n?g@', $text, $matches); print_r($matches);

preferences:
33.97 ms | 402 KiB | 5 Q