thinkphp-为什么在Thinkphp框架里html页面可以解析php代码

WBOY
Release: 2016-06-02 11:28:58
Original
1557 people have browsed it

thinkphpphphtml

今天使用框架发现了一个有趣的现象,在thinkphp框架里的.html文件内编写代码能够直接解析。
但正常情况下,不都得是.php后缀的文件才能解析内部的代码吗?

有没有人知道tp框架是怎么处理的?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!