What is the meaning of the dots (.)

What is the meaning of the dots (.)

am 11.10.2007 11:43:56 von Henk Oegema

What is the meaning of the dots (.) in the following line:

echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;

Re: What is the meaning of the dots (.)

am 11.10.2007 11:53:39 von Mike Rogers

> What is the meaning of the dots (.) in the following line:
>
> echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;

From http://www.php.net/manual/en/language.types.string.php :

"Strings may be concatenated using the '.' (dot) operator. Note that the '+'
(addition) operator will not work for this. Please see String operators for
more information."

Re: What is the meaning of the dots (.)

am 11.10.2007 12:54:40 von Henk Oegema

ShutEye wrote:

>> What is the meaning of the dots (.) in the following line:
>>
>> echo "Days: ". $days. " Hours: " . $hours . " Minutes: " . $mins;
>
> From http://www.php.net/manual/en/language.types.string.php :
>
> "Strings may be concatenated using the '.' (dot) operator. Note that the
> '+' (addition) operator will not work for this. Please see String
> operators for more information."
Thanks ;)