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

Reply via email to