HTTP 函数
PHP Manual

http_send_status

(PECL pecl_http >= 0.1.0)

http_send_statusSend HTTP response status

说明

bool http_send_status ( int $status )

Send HTTP status code.

参数

status

HTTP status code (100-599)

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.

参见


HTTP 函数
PHP Manual