Add <pre> container to the dd function output

This commit is contained in:
Alex Tselegidis 2023-12-06 10:58:40 +01:00
parent 08908e5ad6
commit c6f231e11e

View file

@ -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);
} }