开发者

PHP Short tags - Are they slower than regular syntax?

Is writing

<?=$variable?>

slower than

<?php e开发者_开发知识库cho $variable; ?>

In other words, what does the server interpret faster?


I can guarantee you with absolute certainty that it won't matter one bit. :)


I don't think there will be a huge difference - but short-tags essentially have to get essentially converted first into the normal syntax when executed. I expect the differance is minimal - I have never tried to benchmark it!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜