3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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) ?>
based on vhJTd
Output for hhvm-3.18.5 - 3.21.3, 7.0.0 - 7.2.6
Notice: Array to string conversion in /in/tivgr on line 11 Array
Output for hhvm-3.22.0
Notice: Array to string conversion in /in/tivgr on line -1 Array
Output for 5.6.0 - 5.6.30
Notice: Array to string conversion in /in/tivgr on line 12 Array