3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'prijs=0,209&orderby=price&order=undefined&posts_per_page=undefined'; $array = preg_split('/[&]/' , $str); foreach (&$array as $a) { $a = preg_split('/[=]/' , $a); $a[1] = preg_split('/[,]/' , $a[1]); } var_dump($array);
Output for 5.3.0 - 5.4.20
Parse error: syntax error, unexpected '&' in /in/5Baot on line 6
Process exited with code 255.