On Fri, Jan 23, 2015 at 9:43 AM, Yasuo Ohgaki <[email protected]> wrote:

> Ok. Now I understand. Since we don't/can't define strictly typed
> less/greater than operator,
> it makes sense. It can be handles
>
I always realize silly mistake after I sent mails :(
It can be handled as

>
> if (get_type($a) != get_type($b)) { ... treat it as exception/error etc }
> return $a <=> $b;
>

--
Yasuo Ohgaki
[email protected]

Reply via email to