| 
 Posted by Rodolfo Gonzalez Gonzalez on 07/01/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.
 
[Back to original message] 
 |