/**
  * More accurated var_dump call
  *
  * The function prints out the var_dump function result with <pre></pre> tags.
  *
  * @return string
  * @since 1.0.0
  * @author Simone D'Amico <*****@*****.**>
  */
 function yit_debug()
 {
     $args = func_get_args();
     return YIT_Debug::vardump($args);
 }
Beispiel #2
0
/**
 * Debug tool to firephp
 * 
 * Usefull to have a debug status of some vars and have major informations
 * during the development.
 * This dumps key and variable to firebug server panel. 
 *
 * @see FirePHP::DUMP
 * @param mixed $var
 * @param string $key
 * @return true
 * @throws Exception
 */
function yit_fbdebug($var, $key = 'label')
{
    return YIT_Debug::dump($var, $key);
}