Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 289568

Summary: dev-lang/php-5.2.10 on ppc date() broken.
Product: Gentoo Linux Reporter: Chris Beswick <chris.beswick>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major CC: ppc
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Beswick 2009-10-18 11:43:05 UTC
The current "stable" php build on ppc is 5.2.10, which has a known bug with the date function resulting in the year being returned as 0000, which at a minimum breaks a number of programs cookies.

The 5.2.11 release of php corrects this bug, however it is currently marked unstable on ppc (but is "stable" on amd64), this seems backwards.

Reproducible: Always

Steps to Reproduce:
1. Install dev-lang/php-5.2.10 on ppc
2. execute echo date('Y') in php

Actual Results:  
Year will be returned as 0000

Expected Results:  
Year should be 2009 at time of writing
Comment 1 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-10-18 12:25:59 UTC

*** This bug has been marked as a duplicate of bug 278064 ***