header
symfony/var-dumper
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Send a raw HTTP header
header
(
string $header
,
bool $replace
=
true
,
int $response_code
=
0
):
void
function
dd
(...
$vars
)
{
if (!
in_array
(
\PHP_SAPI
, [
'cli'
,
'phpdbg'
],
true
) && !
headers_sent
()) {
header
(
'HTTP/1.1 500 Internal Server Error'
);
}
foreach (
$vars
as
$v
) {
Resources/functions/dump.php