3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $matches=array(); preg_match_all("/[a-z]*[^ ]/i","php hhvm apache ",$matches); var_dump($matches);
based on XMvEj
Output for 4.3.0 - 7.1.0
array(1) { [0]=> array(3) { [0]=> string(3) "php" [1]=> string(4) "hhvm" [2]=> string(6) "apache" } }