Main Page | Report this Page
Linux Forum Index  »  Linux - Gentoo Forum  »  PHP 5.2.10 and big endian systems...
Page 1 of 1    

PHP 5.2.10 and big endian systems...

Author Message
J.O. Aho...
Posted: Thu Jul 16, 2009 9:40 am
Guest
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
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Sun Nov 29, 2009 11:03 am