多个PHP标记 [英] Multiple PHP tags
本文介绍了多个PHP标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这只是一个普通的PHP问题。在我的脚本中有多少<?php CODE?>
有帮助或伤害吗?
只是看看我的一些脚本,并注意到,其中一些有3-4。不知道这是否造成我的网站上的任何缓慢或不:)
解决方案
不,它不会导致任何缓慢或问题。在模板中拥有数十个或数百个的单独<?php?>
p>
This is just a general PHP question. Does it help or hurt to have multiple <?php CODE ?>
in my scripts?
I was just looking at some of my scripts and noticed that some of them have 3-4 in it. Dont know if this is causing any slowness on my site or not :)
解决方案
No, it's no causing any slowness or problems. It's perfectly common to have dozens or hundreds of separate <?php ?>
blocks in templates.
这篇关于多个PHP标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文