Namespaces | Functions

include/inc.debug.php File Reference

Go to the source code of this file.

Namespaces

namespace  ilias
 

admin objects frameset


Functions

 vd ()
 shortcut for var_dump public

Function Documentation

vd (  ) 

shortcut for var_dump public

Parameters:
mixed any number of parameters

Definition at line 38 of file inc.debug.php.

References $num.

{
        $numargs = func_num_args();

        if ($numargs == 0)
        {
                return false;
        }
        
        $arg_list = func_get_args();
        $num = 1;

        
        foreach ($arg_list as $arg)
        {
                echo "<pre>variable ".$num.":<br/>";
                var_dump($arg);
                echo "</pre><br/>";
                $num++;
        }
}