Hi Folks: On Tue, Jan 25, 2011 at 04:15:26PM +0100, Pierre Joye wrote:
> be sure to use the right type(s), do the casting correctly Let's dial back the personalities for a moment. The issue raised above produces bugs in DateTime::diff(). The existing code relies on C dropping decimal components when putting float values into integers and the types passed to floor() and ceil(). This generally works on *nix machines, but throws Windows into a tizzy. The following bugs seem to stem from these issues: 52798 dateTime => function diff => days KO 51184 DateInterval has incorrect days property on windows 52920 Multiple datetime affects divisions 52242 DateTime::diff affects round() 52469 Datetime affect the division 51894 DateTime::Diff breaks range() 48187 DateTime::diff() corrupting microtime() result I hope everyone can step back a moment and address these problems before the next release. Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php