Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ [duplicate]

You need to be running PHP 5.4+ to use shorthand arrays

Leave a Comment