By default, the template engine used by the ThinkPHPframework system is the built-in template engine. The built-in template engine supports the mixed use of PHP native code and template tags in template files.
ThinkPHPThe official development documentation says that the performance of this default built-in template engine is efficient, but it is not optimal. To achieve optimal performance of the template engine, it is necessary to use PHP itself as the template engine.
Using PHP itself as a template engine is actually very simple, just configure it in the project's configuration file Conf/config.php:
'TMPL