Re: long echo statement performance question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux