Hans Lellelid wrote:

> Is this DateTime comparison behavior actually intended to be different
> from everything else?  If there's some reason that DateTime object
> properties cannot be compared to each other, wouldn't it be more
> appropriate for them to always return FALSE ?

In my POV this is easily solvable with a custom comparison object handler.
See attached patch.  I also think that comparing to Datetime instances should
give a reasonable result.

Regards,
-- 
Michael

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

Reply via email to