3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "6914855 6914854"; preg_match_all("/\d+/", $str, $matches); var_dump($matches);
Output for 4.3.0 - 7.1.0
array(1) { [0]=> array(2) { [0]=> string(7) "6914855" [1]=> string(7) "6914854" } }