Re: Re: <<< performance.

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

 



On Tue, 26 Jul 2005, Matthew Weier O'Phinney wrote:
this could be a silly question. Is there some performance penalty when
using the <<< operator [in heredoc]

Try doing some benchmarks using microtime(). My gut reaction is that
there shouldn't be any difference; heredoc syntax is simply another form
of quoting strings.


I had forgotten the "heredoc" name for that sintax style. I'll do some benchmarking. My reaction is the same, and even as there just one asignment, I guess the operation is faster....


Thanks,
Rodolfo.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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