Re: Re: <<< performance.
| From: | Rodolfo Gonzalez Gonzalez | Date: | Tue, 26 Jul 2005 18:07:00 +0000 |
| Subject: | Re: Re: <<< performance. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219371@lists.php.net to get a copy of this message | ||
On Tue, 26 Jul 2005, Matthew Weier O'Phinney wrote:
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.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.