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);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
163.77 ms | 3443 KiB | 14 Q