--- "Chris W. Parker" <[EMAIL PROTECTED]> wrote:
> What's the difference between using , or . for concatenation? (I
> thought they were the same.)

The comma isn't concatenation; echo can take multiple arguments.

I've heard statements about passing multiple arguments to echo being faster
than using concatenation, but every benchmark I've tried myself shows them to
be nearly identical. Feel free to try it yourself and post your results. :-)
I'd be curious to see if others reach the same conclusion.

Chris

=====
HTTP Developer's Handbook
     http://shiflett.org/books/http-developers-handbook
My Blog
     http://shiflett.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to