On Mon, 2008-08-25 at 17:34 +0200, Yeti wrote:
> That is why i love this list. Always something new to learn.
> What I am still wondering about is if it is faster to use commas or
> the "{}" brackets? ( I don't know how that technique is called, since
> I'm not a walking dictionary)
Here is the order of speed from fastest to slowest:
commas - only useful if using echo or print
. - concatenation
"{$foo}" - interpolation of variables via double quotes
<<< - heredoc
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php