http_send_status

(PECL)

http_send_status -- Send HTTP response status

Descrição

bool http_send_status ( int status )

Send HTTP status code.

Parâmetros

status

HTTP status code (100-599)

Valores de retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja também

the HttpResponse class if you are using PHP-5.1 and above