> It'd be nice if, when doing $objA > $objB, that that'd invoke
> $objA->__compareTo($objB) or something, much like Java's Comparable
> interface.
>

There is nothing stopping you from creating this in user-land. Also, I have
spent a lot of time writing libraries in PHP and I now believe that this
approach is not the best solution anyway.

Reply via email to