<?php
/**
* This file is part of the Tracy (https://tracy.nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
if (!function_exists('dump')) {
/**
* Tracy\Debugger::dump() shortcut.
* @tracySkipLocation
*/
function dump($var)
{
array_map('Tracy\Debugger::dump', func_get_args());
return $var;
}
}
if (!function_exists('bdump')) {
/**
* Tracy\Debugger::barDump() shortcut.
* @tracySkipLocation
*/
function bdump($var)
{
call_user_func_array('Tracy\Debugger::barDump', func_get_args());
return $var;
}
}
|