Static Public Member Functions | |
static | dump ($var, $depth=10, $highlight=false) |
static | dumpAsString ($var, $depth=10, $highlight=false) |
Definition at line 26 of file CVarDumper.php.
|
static |
Displays a variable. This method achieves the similar functionality as var_dump and print_r but is more robust when handling complex objects such as Yii controllers.
mixed | $var | variable to be dumped |
integer | $depth | maximum depth that the dumper should go into the variable. Defaults to 10. |
boolean | $highlight | whether the result should be syntax-highlighted |
Definition at line 40 of file CVarDumper.php.
References dumpAsString().
|
static |
Dumps a variable in terms of a string. This method achieves the similar functionality as var_dump and print_r but is more robust when handling complex objects such as Yii controllers.
mixed | $var | variable to be dumped |
integer | $depth | maximum depth that the dumper should go into the variable. Defaults to 10. |
boolean | $highlight | whether the result should be syntax-highlighted |
Definition at line 54 of file CVarDumper.php.
Referenced by dump().