Function

http_response_code

Synopsis

http_response_code(mixed ...): mixed

Area
Runtime\PS\HTTP\SAPI\http_response_codeareas

Description

http_response_code stages the response status in $response_code and returns the one it replaced; called without one it returns the status the response will carry, or false when there is no request to answer for.

Usage

$value = http_response_code($arguments);
$fn = http_response_code(...);

See also