Menu

Reference / Manticore\Sapi

responseStatus()

function
function responseStatus(): int

The response status code of the current flow.

200 until the handler calls http_response_code() or sends a HTTP/1.1 <code> line through header().

Returns

int — the status code

View source