[php-maint] Bug#542301: php5-cli: Date function 4 digit year problem

Kells, Jared jkells at stauff.com.au
Mon Aug 31 23:04:03 UTC 2009

Hi here is a simple test case:


echo date( 'Y', ( time() ));

Should return 2009 but returns 0000


The upstream bug report is here: http://bugs.php.net/bug.php?id=48276

It looks like an endian issue. I can reproduce it on Debian Testing on


This is a pretty grave issue for me. It makes all my php sites break. 


Kind Regards

Jared Kells



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20090901/fddef35e/attachment.htm>

More information about the pkg-php-maint mailing list