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