null, "created" => null, "last_seen" => null, "seen_at" => null ], JSON_PRETTY_PRINT)); } $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/tokens/" . str_replace("/", "", $_COOKIE['PEH2_SESSION_TOKEN'])), true); die(json_encode([ "name" => $data["name"], "created" => date('c', $data["created"]), "last_seen" => date('c', $data["last"]), "seen_at" => array_keys($data["addresses"]) ], JSON_PRETTY_PRINT));