Short array syntax was introduced in PHP 5.4... use array('as' => 'default.index', ...)
– Mark BakerOct 6 '13 at 8:34
Are you sure you opened your comments properly looking at the syntax highlight it looks like you are missing the opening /*
– kaningOct 6 '13 at 8:43
@kaning that's a screenshot of Laravel's error page (using Symfony component), not a code editor.
– abstrOct 6 '13 at 8:59
1
You can avoid sudden errors like this by making sure your test-environment has the same installation and configuration as the production-environment! Same error confronted me when I was deploying my application on the server: local php version was 5.5 and on prod-server 5.3.
– matthaeusDec 12 '13 at 11:51
array('as' => 'default.index', ...)
– Mark Baker Oct 6 '13 at 8:34