<?php headers_sent(string &$filename = null, int &$line = null): bool
<?php function dd(...$vars) { if (!in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) && !headers_sent()) { header('HTTP/1.1 500 Internal Server Error'); }