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

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

Reply via email to