3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '123a45 toto 1325464'; preg_match_all('/\d+/', $a,$b); print_r($b);
Output for 4.3.0 - 7.1.0
Array ( [0] => Array ( [0] => 123 [1] => 45 [2] => 1325464 ) )