3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern= '# \w*?[aeiou]{2}\w*? #'; $string = "There’s a lion loose in the Maister park"; $matches= array(); preg_match_all($pattern, $string, $matches); foreach($matches as $value) print($value) ?>

preferences:
55.27 ms | 402 KiB | 5 Q