for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
if (!function_exists('d')) {
function d(...$variables)
{
foreach ($variables as $variable) {
\Yiisoft\VarDumper\VarDumper::dump($variable, 10, true);
}
if (!function_exists('dd')) {
function dd(...$variables)
die();
exit
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.