You are here: Re: [PHP] Re: <<< performance. « PHP « IT news, forums, messages
Re: [PHP] Re: <<< performance.

Posted by Rodolfo Gonzalez Gonzalez on 10/21/20 11:22

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация