Why.use.periods?

When I have to put PHP aside for a while and do something else in Java or ASP, sometimes I will forget how to do certain things or which operators are used.

I have a particular beef with the “.” (period) being used as a concatenation operator because it is not as instinctive as the “+” or the “&” used in other languages. “+” makes sense because it implies addition, “&” also makes sense because the effect of the ampersand is similar to “and”. However, can someone tell me the reasoning behind “.”?

Leave a Reply

Your email address will not be published.