3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str='prijs=0,209&orderby=price&order=undefined&posts_per_page=undefined'; parse_str($str, $array); //convert $_GET type string into array // code before this is not needed if using $_GET instead of a string array_walk($array, function(&$n) { $n = explode(',', $n); }); print_r($array);

preferences:
38.01 ms | 402 KiB | 5 Q