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 4fiG3
Output for 4.3.0 - 7.1.0
array(1) { [0]=> array(7) { [0]=> string(3) "php" [1]=> string(0) "" [2]=> string(4) "hhvm" [3]=> string(0) "" [4]=> string(6) "apache" [5]=> string(0) "" [6]=> string(0) "" } }