W3cubDocs

/PHP

http_clear_last_response_headers

(PHP 8 >= 8.4.0)

http_clear_last_response_headersClears the stored HTTP response headers

Description

http_clear_last_response_headers(): void

Clears the HTTP response headers that were received using the HTTP wrapper.

Parameters

This function has no parameters.

Return Values

No value is returned.

See Also

© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.http-clear-last-response-headers.php