http_response_code
Get or Set the HTTP response code
&reftitle.description;
inthttp_response_code
intresponse_code
If you pass no parameters then http_response_code will get the current status code.
If you pass a parameter it will set the response code.
&reftitle.parameters;
response_code
The optional response_code will set the response code.
]]>
&reftitle.returnvalues;
The current response code. By default the return value is int(200).
&reftitle.examples;
Examples using http_response_code
]]>
&example.outputs;
&reftitle.seealso;
header
headers_list