helpers\BaseVarDumper dump()

dump() public static method

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.

public static void dump ( $var, $depth = 10, $highlight = false )
$var mixed

Variable to be dumped

$depth integer

Maximum depth that the dumper should go into the variable. Defaults to 10.

$highlight boolean

Whether the result should be syntax-highlighted

doc_Yii
2016-10-30 17:05:35
Comments
Leave a Comment

Please login to continue.