文章搜索:
·PHP技术论坛 ·PHP源码下载 ·招聘求职
好记性不如常笔记,学好PHP,需要养成做笔记的好习惯,马上申请我的在线笔记,终生免费>>
   你的位置: PHP教程部落 > PHP Smarty专题 > debug

debug

debug

属性名称TypeRequiredDefaultDescription
outputstringNohtmloutput type, html or javascript

{debug} dumps the debug console to the page. This works regardless of the debug settings in Smarty. Since this gets executed at runtime, this is only able to show the assigned variables, not the templates that are in use. But, you see all the currently available variables within the scope of this template.