3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $text = ' The big bang bonged under the bung.'; preg_match_all('@b.n?g@', $text, $matches); print_r($matches);
Output for 4.3.0 - 7.1.0
Array ( [0] => Array ( [0] => big [1] => bang [2] => bong [3] => bung ) )