The HttpResponse
PHP Manual

HttpResponse::status

(PECL pecl_http >= 0.12.0)

HttpResponse::statusSend HTTP response status

说明

static bool HttpResponse::status ( int $status )

此函数是该函数的别名: http_send_status().


The HttpResponse
PHP Manual