How to Debug Variables in Smarty like in PHP var_dump()
Posted
by streetparade
on Stack Overflow
See other posts from Stack Overflow
or by streetparade
Published on 2010-03-12T09:50:18Z
Indexed on
2010/03/12
9:57 UTC
Read the original article
Hit count: 545
I have some variables inside a template and i dont know where i assigned them, so i need to know what inside this variable is
say i have a var in smarty called member
i tryed with {debug} but it didnt work, no popup was shown. How can i debug smarty variables using something like var_dump() inside the templates ?
© Stack Overflow or respective owner