Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PHP 5.2.10 and big endian systems

2 views
Skip to first unread message

J.O. Aho

unread,
Jul 16, 2009, 11:40:22 AM7/16/09
to
There is a bug in PHP 5.2.10 which affects big endian systems to display the
wrong year when using

date('Y')

Expected: 2009
Actual: 0000

See php bugzilla: http://bugs.php.net/bug.php

See Gentoo bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=278064

The bug don't affect 5.2.9 or earlier, 5.2.11 or 5.3.0.

Adding the patch in http://bugs.gentoo.org/show_bug.cgi?id=278064
will fix the problem for big endian machines and is not harmful for small
endian machines.

--

//Aho

0 new messages