On Fri, Jan 23, 2015 at 9:43 AM, Yasuo Ohgaki <yohg...@ohgaki.net> 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 yohg...@ohgaki.net