*/ function dump($var, ...$moreVars) { VarDumper::dump($var); foreach ($moreVars as $v) { VarDumper::dump($v); } if (1 < func_num_args()) { return func_get_args(); } return $var; } } if (!function_exists('dd')) { function dd(...$vars) { foreach ($vars as $v) { VarDumper::dump($v); } exit(1); } }