smarty_modifier_debug_print_var()
smarty_modifier_debug_print_var(array|object $var, integer $depth, integer $length = 40) : string
Smarty debug_print_var modifier plugin
Type: modifier
Name: debug_print_var
Purpose: formats variable contents for display in the console
Parameters
array|object | $var | variable to be formatted |
integer | $depth | maximum recursion depth if $var is an array |
integer | $length | maximum string length if $var is a string |