[PHP-DEV] Re: DateTime object equality

2007-03-05 Thread Michael Wallner
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 e

[PHP-DEV] Re: DateTime object equality

2007-03-05 Thread Michael Wallner
Michael Wallner wrote: > + if (!o2->time->sse_uptodate) { > + timelib_update_ts(o1->time, o1->time->tz_info); > + } Oh my, typo warning. -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/uns

[PHP-DEV] Re: DateTime object equality

2007-03-05 Thread Michael Wallner
Michael Wallner wrote: > 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 retu