Add <pre> container to the dd function output
This commit is contained in:
parent
08908e5ad6
commit
c6f231e11e
1 changed files with 2 additions and 0 deletions
|
@ -26,7 +26,9 @@ if (!function_exists('dd')) {
|
||||||
#[NoReturn]
|
#[NoReturn]
|
||||||
function dd(...$vars): void
|
function dd(...$vars): void
|
||||||
{
|
{
|
||||||
|
echo '<pre>';
|
||||||
var_dump($vars);
|
var_dump($vars);
|
||||||
|
echo '</pre>';
|
||||||
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue