3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $matches=array(); preg_match("/ [a-z,~ ]*/i","php hhvm apache",$matches); var_dump($matches);
based on LCAnI
Output for 4.3.0 - 5.2.6, 5.2.8 - 7.2.0
array(1) { [0]=> string(12) " hhvm apache" }
Output for 5.2.7

Process exited with code 137.