vendor/smarty/smarty/libs/pluginsmodifier.debug_print_var.php

Smarty plugin

Functions

smarty_modifier_debug_print_var()

smarty_modifier_debug_print_var(array|object  $var, integer  $max = 10, integer  $length = 40, integer  $depth, array  $objects = array()) : string

Smarty debug_print_var modifier plugin Type: modifier<br> Name: debug_print_var<br> Purpose: formats variable contents for display in the console

Parameters

array|object $var

variable to be formatted

integer $max

maximum recursion depth if $var is an array or object

integer $length

maximum string length if $var is a string

integer $depth

actual recursion depth

array $objects

processed objects in actual depth to prevent recursive object processing

Returns

string