Page MenuHomePhabricator
Paste P1723

test.php
ActivePublic

Authored by epriestley on Feb 15 2015, 1:48 AM.
<?php
require_once 'scripts/__init_script__.php';
$result = id(new HTTPSFuture('http://127.0.0.1:22281/status/'))
->resolvex();
var_dump($result);

Event Timeline

epriestley edited the content of this paste. (Show Details)Feb 15 2015, 1:48 AM
epriestley changed the title of this paste from untitled to test.php.
epriestley updated the paste's language from autodetect to autodetect.
eliaspro added a subscriber: eliaspro.EditedFeb 15 2015, 1:50 AM
JSON
array(2) {
  [0]=>
  string(99) "{"uptime":497626,"clients.active":1,"clients.total":1,"messages.in":0,"messages.out":0,"version":6}"
  [1]=>
  array(4) {
    [0]=>
    array(2) {
      [0]=>
      string(12) "Content-Type"
      [1]=>
      string(16) "application/json"
    }
    [1]=>
    array(2) {
      [0]=>
      string(4) "Date"
      [1]=>
      string(29) "Sun, 15 Feb 2015 01:49:47 GMT"
    }
    [2]=>
    array(2) {
      [0]=>
      string(10) "Connection"
      [1]=>
      string(10) "keep-alive"
    }
    [3]=>
    array(2) {
      [0]=>
      string(17) "Transfer-Encoding"
      [1]=>
      string(7) "chunked"
    }
  }
}