On 16/02/06, Zeev Suraski <[EMAIL PROTECTED]> wrote:
> In languages where operator overloading is supported, it comes hand
> in hand with strict typing, which wouldn't allow for different values
> for x>y and y<x...
>
> Zeev

That's not true, Ruby for example has operator overloading, and has no
problems with different meanings of x>y and y<x (but i don't know a
core class that does that).

Also, PHP already breaks the transitivity rule for the equality
operator ($a == $b and $b == $c does not imply $a == $c), so there's
not much new evil if a user can, by loading an extension, break the
symmetry of the comparison operators, IMO.

Regards,
Stefan Walk

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

Reply via email to