- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
- Parse error: syntax error, unexpected '[', expecting ')' in /in/mVMbf on line 3
Process exited with code 255.
<?php
$array = array(
"name"[]=>"a",
"id[]"=>"b",
"date[]"=>"c",
"name[]"=>"1",
"id[]"=>"2",
"date[]"=>"3"
);
print_r($array);
end($array);
echo $array['id'];