{"action":"created","issue":{"url":"https://api.github.com/repos/ssllabs/ssllabs-scan/issues/91","labels_url":"https://api.github.com/repos/ssllabs/ssllabs-scan/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/ssllabs/ssllabs-scan/issues/91/comments","events_url":"https://api.github.com/repos/ssllabs/ssllabs-scan/issues/91/events","html_url":"https://github.com/ssllabs/ssllabs-scan/issues/91","id":63232152,"number":91,"title":"Output in JSON and PHP","user":{"login":"jahlives","id":5271804,"avatar_url":"https://avatars.githubusercontent.com/u/5271804?v=3","gravatar_id":"","url":"https://api.github.com/users/jahlives","html_url":"https://github.com/jahlives","followers_url":"https://api.github.com/users/jahlives/followers","following_url":"https://api.github.com/users/jahlives/following{/other_user}","gists_url":"https://api.github.com/users/jahlives/gists{/gist_id}","starred_url":"https://api.github.com/users/jahlives/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahlives/subscriptions","organizations_url":"https://api.github.com/users/jahlives/orgs","repos_url":"https://api.github.com/users/jahlives/repos","events_url":"https://api.github.com/users/jahlives/events{/privacy}","received_events_url":"https://api.github.com/users/jahlives/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-20T13:52:16Z","updated_at":"2015-03-20T14:56:42Z","closed_at":null,"body":"Hello\r\nI'm not sure if the problem is ssllabs-scan related or more a PHP problem. I'm trying to use the PHP function json_decode() on the output from ssllabs-scan which I called the following way\r\n\r\nssllabs-scan --quiet --json-flat --usecache host.example.com\r\n\r\nBut I only get \"array value separator ',' expected\" as error from the PHP function. So I wonder where should I look for the problem: is it the json output from ssllabs-scan or a \"bug\" in PHP?\r\n\r\nThanks for any hints\r\n\r\ntobi\r\n"},"comment":{"url":"https://api.github.com/repos/ssllabs/ssllabs-scan/issues/comments/84037048","html_url":"https://github.com/ssllabs/ssllabs-scan/issues/91#issuecomment-84037048","issue_url":"https://api.github.com/repos/ssllabs/ssllabs-scan/issues/91","id":84037048,"user":{"login":"ivanr","id":485278,"avatar_url":"https://avatars.githubusercontent.com/u/485278?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanr","html_url":"https://github.com/ivanr","followers_url":"https://api.github.com/users/ivanr/followers","following_url":"https://api.github.com/users/ivanr/following{/other_user}","gists_url":"https://api.github.com/users/ivanr/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanr/subscriptions","organizations_url":"https://api.github.com/users/ivanr/orgs","repos_url":"https://api.github.com/users/ivanr/repos","events_url":"https://api.github.com/users/ivanr/events{/privacy}","received_events_url":"https://api.github.com/users/ivanr/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T14:56:42Z","updated_at":"2015-03-20T14:56:42Z","body":"So you run ssllabs-scan from PHP, capture the output, then process that from PHP?\r\n\r\nIf you increase verbosity (-verbosity=trace) you should be able to see the raw JSON body. You can then take that and check with something else, for example http://jsonlint.com"}}