headers_list
symfony/var-dumper
Supported Versions: PHP 5, PHP 7, PHP 8
Returns a list of response headers sent (or ready to send)
<?php headers_list
(): array