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  |  
Please login to continue.