On Mon, Feb 2, 2015 at 11:50 PM, Stanislav Malyshev <smalys...@gmail.com> wrote:
> Hi!
>
>> I personally would use spaceship operator often, but only if PHP had
>> operator overloading for classes. So I hope it will pass and operator
>
> PHP has operator overloading for classes, but just for internal ones.
> See: https://wiki.php.net/rfc/operator_overloading_gmp
>
> For userspace ones, the feeling is unlimited overloading would be a bit
> too chaotic.
> --
> Stas Malyshev
> smalys...@gmail.com

Hello,

yeah, I meant userspace operator overloading. I don't think it would
be chaotic - for instance C# allows it and it comes in handy sometimes
and is not chaotic at all.

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

Reply via email to