可能重复: 多个 PHP 标记
有没有区别:
<?php_Stack Overflow中文网
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<?php 问问题
<?php echo "n" ?> <?php echo "i" ?> <?php echo "g" ?>
和
<?php echo "t"; echo "i"; echo "t"; ?>
在使用的时间和资源方面?
我的第一个想法是也许。
话虽如此,我曾经为一个每秒点击数千次的网站编写代码,并尝试了两种方式。我没有看到任何明显的差异。我没有经验证据,但在我对高容量网站的测试中,这似乎没有什么区别。