(PHP 8 >= 8.4.0)
http_clear_last_response_headers — Clears the stored HTTP response headers
http_clear_last_response_headers(): void
Clears the HTTP response headers that were received using the HTTP wrapper.
This function has no parameters.
No value is returned.
© 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