3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array("name"=>"a","id"=>"b","date"=>"c","name"=>"1","id"="2","date"="3"); $array = array_shift($array); echo $array;
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
Parse error: syntax error, unexpected '=', expecting ')' in /in/kH74m on line 2
Process exited with code 255.

preferences:
189.62 ms | 940 KiB | 65 Q