Returns http_version, code and message from a HTTP status line.
public static parseStatus ( string $status ) : array | ||
$status | string | HTTP status line, e.g. HTTP/1.1 200 OK |
return | array | Parsed 'http_version', 'code' and 'message'. |
public static parseStatus ( string $status ) : array | ||
$status | string | HTTP status line, e.g. HTTP/1.1 200 OK |
return | array | Parsed 'http_version', 'code' and 'message'. |