> > The latest one changes some operators.
> 
>   Nice, but why not overload + for strings to do the concatenation?

Doing that would be ambiguous, to say the least. PHP automatically
converts operand types with arithmetic + operator. What would you expect
the result of the following expressions to be:

  "1" + "2"
  1 + "2"
  "2" + $a

-Andrei                                       http://www.gravitonic.com/
* 2 + 2 = 5 for extremely large values of 2. *

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to