Menu

Reference / Manticore\Sapi

responseHeaders()

function
function responseHeaders(): array<int,string>

The queued response header lines, in the order php would send them.

Includes Set-Cookie lines queued by setcookie(); each entry is a full Name: value line.

Returns

array<int,string> — header lines

View source