var_dump smarty tpl code example Example 1: var_dump smarty {$var|@var_dump} Example 2: smarty print_r {$var|print_r}