Friday, October 1, 2010

The Concatenation Operator in Php

The concatenation operator is a single dot. Treating both operands as strings, it
appends the right-hand operand to the left. So
"hello"." world"
returns
"hello world"
Regardless of the data types of the operands, they are treated as strings, and the
result always is a string.

No comments:

Post a Comment