{"action":"created","issue":{"url":"https://api.github.com/repos/akomakom/dtgraph/issues/2","labels_url":"https://api.github.com/repos/akomakom/dtgraph/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/akomakom/dtgraph/issues/2/comments","events_url":"https://api.github.com/repos/akomakom/dtgraph/issues/2/events","html_url":"https://github.com/akomakom/dtgraph/issues/2","id":122950905,"number":2,"title":"php 7.0 compatibility","user":{"login":"rcmcronny","id":5807210,"avatar_url":"https://avatars.githubusercontent.com/u/5807210?v=3","gravatar_id":"","url":"https://api.github.com/users/rcmcronny","html_url":"https://github.com/rcmcronny","followers_url":"https://api.github.com/users/rcmcronny/followers","following_url":"https://api.github.com/users/rcmcronny/following{/other_user}","gists_url":"https://api.github.com/users/rcmcronny/gists{/gist_id}","starred_url":"https://api.github.com/users/rcmcronny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcmcronny/subscriptions","organizations_url":"https://api.github.com/users/rcmcronny/orgs","repos_url":"https://api.github.com/users/rcmcronny/repos","events_url":"https://api.github.com/users/rcmcronny/events{/privacy}","received_events_url":"https://api.github.com/users/rcmcronny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T13:43:00Z","updated_at":"2015-12-18T21:34:45Z","closed_at":null,"body":"Hello,\r\n\r\ni use it for home monitoring some temps, as php 7.0 is now available, it tried it and the following error is thrown:\r\n\r\n<b> Parse error: syntax error, unexpected '[', expecting ',' or ';' in dtgraph/utils.php on line 504 </b>"},"comment":{"url":"https://api.github.com/repos/akomakom/dtgraph/issues/comments/165902559","html_url":"https://github.com/akomakom/dtgraph/issues/2#issuecomment-165902559","issue_url":"https://api.github.com/repos/akomakom/dtgraph/issues/2","id":165902559,"user":{"login":"akomakom","id":12100822,"avatar_url":"https://avatars.githubusercontent.com/u/12100822?v=3","gravatar_id":"","url":"https://api.github.com/users/akomakom","html_url":"https://github.com/akomakom","followers_url":"https://api.github.com/users/akomakom/followers","following_url":"https://api.github.com/users/akomakom/following{/other_user}","gists_url":"https://api.github.com/users/akomakom/gists{/gist_id}","starred_url":"https://api.github.com/users/akomakom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akomakom/subscriptions","organizations_url":"https://api.github.com/users/akomakom/orgs","repos_url":"https://api.github.com/users/akomakom/repos","events_url":"https://api.github.com/users/akomakom/events{/privacy}","received_events_url":"https://api.github.com/users/akomakom/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T21:34:45Z","updated_at":"2015-12-18T21:34:45Z","body":"I'm not on 7.0 yet, but can you try to change that line to\r\n\r\nglobal ${$savedVars[$i]};\r\n\r\nI'm guessing based on this:\r\nhttps://wiki.php.net/rfc/uniform_variable_syntax"}}