http_response_code()
function http_response_code(int $response_code = 0): int
Gets or sets the HTTP response code.
Parameters:
$response_code(int), default0, optional
Returns: int
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how http_response_code is implemented in the compiler, see the internals page.