3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (preg_match('/.*Version:\s([0-9\.]*).*/', "Version: a.3.1.23", $m)) { var_dump($m); }
Output for 4.3.0 - 7.2.6
array(2) { [0]=> string(17) "Version: a.3.1.23" [1]=> string(0) "" }