Function __global->http_response_code
Definitions
sources_custom/phpstub.php
- Get or Set the HTTP response code.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$response_code | ?integer | Null | N/A | N/A | Response code to set (null: don't set) |
Return
- The previous response code if $response_code was set / current response mode if $response_code is not set / false if CLI / true if CLI but $response_code was set
- Type: mixed
- Set: N/A
- Range: N/A