{"action":"closed","issue":{"url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1156","labels_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1156/labels{/name}","comments_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1156/comments","events_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1156/events","html_url":"https://github.com/WHAnonymous/Chat-API/issues/1156","id":114738156,"number":1156,"title":"PHP error on function register","user":{"login":"mapring0019","id":3938671,"avatar_url":"https://avatars.githubusercontent.com/u/3938671?v=3","gravatar_id":"","url":"https://api.github.com/users/mapring0019","html_url":"https://github.com/mapring0019","followers_url":"https://api.github.com/users/mapring0019/followers","following_url":"https://api.github.com/users/mapring0019/following{/other_user}","gists_url":"https://api.github.com/users/mapring0019/gists{/gist_id}","starred_url":"https://api.github.com/users/mapring0019/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapring0019/subscriptions","organizations_url":"https://api.github.com/users/mapring0019/orgs","repos_url":"https://api.github.com/users/mapring0019/repos","events_url":"https://api.github.com/users/mapring0019/events{/privacy}","received_events_url":"https://api.github.com/users/mapring0019/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-03T04:06:34Z","updated_at":"2015-11-03T08:16:19Z","closed_at":"2015-11-03T08:16:19Z","body":"When i run: `[root@localhost examples]# php exampleRegister.php` it wasn't worked and show error as below:\r\n```\r\nPHP Parse error:  syntax error, unexpected '[' in /root/Node/Chat-API/src/func.php on line 306\r\n```\r\n"}}