3v4l.org

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