date('Y') returns 0000 on big endian machines
Bug #493727 reported by
Dennis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: php5
Problem: date('Y') returns 0000 on big endian machines (instead of 2009)
using: Ubuntu 9.10 on a PowerPC
package: php5
version: 5.2.10.
It's a known bug in PHP:
http://
This page shows a diff to fix it, a one character edit:
http://
This date problem causes serious problems in many PHP applications, even cookies with an expiration date no longer work due to the incorrect year.
To post a comment you must log in.
Thanks Ill take a closer look at this.
Regards
chuck