{"action":"opened","issue":{"url":"https://api.github.com/repos/Luracast/Restler/issues/484","labels_url":"https://api.github.com/repos/Luracast/Restler/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/Luracast/Restler/issues/484/comments","events_url":"https://api.github.com/repos/Luracast/Restler/issues/484/events","html_url":"https://github.com/Luracast/Restler/issues/484","id":106123023,"number":484,"title":"Syntax error on v3 with php 5.3.3","user":{"login":"Tommyf","id":4635876,"avatar_url":"https://avatars.githubusercontent.com/u/4635876?v=3","gravatar_id":"","url":"https://api.github.com/users/Tommyf","html_url":"https://github.com/Tommyf","followers_url":"https://api.github.com/users/Tommyf/followers","following_url":"https://api.github.com/users/Tommyf/following{/other_user}","gists_url":"https://api.github.com/users/Tommyf/gists{/gist_id}","starred_url":"https://api.github.com/users/Tommyf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tommyf/subscriptions","organizations_url":"https://api.github.com/users/Tommyf/orgs","repos_url":"https://api.github.com/users/Tommyf/repos","events_url":"https://api.github.com/users/Tommyf/events{/privacy}","received_events_url":"https://api.github.com/users/Tommyf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-12T02:16:07Z","updated_at":"2015-09-12T02:16:07Z","closed_at":null,"body":"I was trying to get v3 working on my work machine and got the following error:\r\n\r\n    PHP Parse error:  syntax error, unexpected '[' in /path/to/restler/vendor/Luracast/Restler/Routes.php on line 667\r\n\r\nI notice that **array()** has been replaced with **[]**\r\n\r\nIs there a reason for this? I changed it back and it still works, but I may be missing something. Seems to be introduced a year ago tomorrow in: https://github.com/Luracast/Restler/commit/4d0aff23e976a4ed1cf9d5cd2e5f781a84ac8c97\r\n\r\nI'm working on my pull request for https://github.com/Luracast/Restler/issues/479 / https://github.com/Luracast/Restler/pull/480 and will include this fix there.\r\n\r\nThanks,\r\n\r\nTom..."}}