Let's talk about what {$smarty.const.__SELF__} means in the TP framework
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
