Re: long echo statement performance question
| From: | Daevid Vincent | Date: | Fri, 06 Feb 2009 20:33:14 +0000 |
| Subject: | Re: long echo statement performance question | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287857@lists.php.net to get a copy of this message | ||
On Fri, 2009-02-06 at 17:32 +0000, Stuart wrote:
> They're called short tags, not fast tags. There is nothing faster
> about them beyond the typing effort required.
Mostly true.
However, the only thing that <?= ?> does is an "echo/print", so aside
from saving you <?php echo $foo; ?> all the time, you can't do <?= if
($foo) print 'blah'; ?>
Personally, I love them.
> http://stut.net/projects/phpspeed/?iterations=10000
God bless you son for making this f'n amazing page!
Ironically it doesn't have <?= $x ?> in it though. HAHA! can you add
that to your test suite too?
D.Vin
http://daevid.com