On 13/02/15 04:03, Yasuo Ohgaki wrote: > I see controversial behavior here, unserialize raises error while new > DateTime('0000-00-00') doesn't. > > If it's a bug, I'll just file it as a bug.
Yasuo Management of dates is controversial in a lot more areas than just using the wrong calendar in prior times ;) Each database uses it's own way to handle dates and time internally, and most default actions are different, add to which using second as the base for dates is just wrong anyway, but we have to live with what is currently available. The area that needs fixing first is the underlying OS functions rather than continually trying to patch the top level, but we perhaps need to document better just where the joins are ... just how many days were there from 0BC to today ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php