3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = '37,40,42,46,49,54,56,57'; parse_str(str_replace(',', '&array[]=', ','.$str), $array); extract($array); print_r($array);
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.2.1
Array ( [0] => 37 [1] => 40 [2] => 42 [3] => 46 [4] => 49 [5] => 54 [6] => 56 [7] => 57 )