3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $get = '1,2,45,77,702,78,bob,4l,0034'; preg_match_all("/(?>=0?)([0-9]+)(?=,?)|(?>=0?)([0-9]+)$/",$get,$r); var_dump($r);
based on s75tr
Output for 5.6.0 - 7.3.0rc4
array(3) { [0]=> array(0) { } [1]=> array(0) { } [2]=> array(0) { } }