Re: Re: concatenating with "." or ","

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-08-25 at 11:08 +0300, Nitsan Bin-Nun wrote:
> Gosh, what a smart ass!
> The comma can also concatenate string!
> You may want to run the following lines:
> <?php
> $a = 3;
> $b = 5;
> echo $a, "abc", $b;
> ?>

This is not concatenation it is argument separation. No string is
concatenated. The output may appear concatenated, but no concatenation
occurred, merely the output of each argument occurred in sequence.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux