The followingthinkphp frameworkThe tutorial column will introduce to you what {$smarty.const.__SELF__} means. I hope it will be helpful to friends in need!
Problem description:
What is the {$smarty.const.__SELF__}
in thinkphp? What does it mean? I only found THINK.const.__SELF
## Analysis and answer:
smarty is a PHP template engine;The $smarty.const mentioned above is a syntax used to directly access PHP constants. Reference:https://www.smarty.net/docs/zh_CN/language.variables.smarty.tpl
{$smarty.const.__SELF__}The connection is in this template engine, directly accessing the php constants you define
__SELF__
Recommended: "The latest 10 thinkphp video tutorials"
The above is the detailed content of Let's talk about what {$smarty.const.__SELF__} means in the TP framework. For more information, please follow other related articles on the PHP Chinese website!