📜  .phtml - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:11.233000             🧑  作者: Mango

代码示例1
There is usually no difference, as far as page rendering goes. It's a huge facility developer-side, though, when your web project grows bigger.

I make use of both in this fashion:

.PHP Page doesn't contain view-related code
.PHTML Page contains little (if any) data logic and the most part of it is presentation-related