3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'b288765#302637 313594&j~ 339864, 363534///375984, 384246, 154a'; preg_match_all('/\d+/', $a,$b); print_r($b);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Array ( [0] => 288765 [1] => 302637 [2] => 313594 [3] => 339864 [4] => 363534 [5] => 375984 [6] => 384246 [7] => 154 ) )