<?php
var_dump( json_decode(<<<EOT
{
"status": "ok",
"log": {
"version": "1.2",
"creator": {
"name": "BLW",
"version": "1.0.0",
"comment": ""
},
"browser": {
"name": "PhantomJS",
"version": "1.9.2",
"comment": ""
},
"pages": [
{
"startedDateTime": "2014-05-19T14:53:25.120Z",
"id": "about:blank",
"title": "",
"pageTimings": {
"ononContentLoad": -1,
"onLoad": 4003,
"comment": ""
},
"comment": "",
"url": "about:blank",
"html": "<html><head></head><body></body></html>"
}
],
"entries": [
{
"request": {
"url": "about:blank"
},
"response": {
"redirectURL": "about:none"
}
},
{
"request": {
"url": "about:none",
},
"response": {
"redirectURL": "",
"httpVersion": "HTTP/1.1",
"status": 200,
"headers": [
{"User-Agent": "foo"},
{"Setcookie": "bar1=1"},
{"Setcookie": "bar2=2"}
],
"content": {
"mimeType": "text/html"
}
}
}
]
}
}
EOT
));
preferences:
42.48 ms | 402 KiB | 5 Q