ID: 48276 Updated by: der...@php.net Reported By: info at programmiernutte dot net -Status: Open +Status: Assigned Bug Type: Date/time related Operating System: Mac OS X 10.4 PPC PHP Version: 5.3.0RC2 -Assigned To: +Assigned To: derick New Comment:
Oh, I had forgotten about that PPC machine. I'll have a look. Previous Comments: ------------------------------------------------------------------------ [2009-05-28 03:56:41] scott...@php.net We have a PPC test machine, Derick has access and I can set up other accounts if needed. ------------------------------------------------------------------------ [2009-05-28 00:45:05] ras...@php.net So there is an endian issue somewhere. How are you with gdb? Could you set a breakpoint on the function and work your way through it and figure out where it goes south? ------------------------------------------------------------------------ [2009-05-28 00:40:27] info at programmiernutte dot net I just verified the issue unter Linux PPC, Debian Lenny PPC to be specific. ------------------------------------------------------------------------ [2009-05-27 23:07:35] info at programmiernutte dot net PPC or Intel? I tested this on 10.4 and 10.5 on PPC with the same results. ------------------------------------------------------------------------ [2009-05-27 22:00:56] j at teamonetickets dot com I cannot reproduce this on OS X 10.5.7 with PHP 5.3.0RC2. $oDateTime = new DateTime(); print_r($oDateTime); Result: DateTime Object ( [date] => 2009-05-27 14:57:33 [timezone_type] => 3 [timezone] => America/Phoenix ) echo date('y'); Result: 09 echo date('Y'); Result: 2009 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/48276 -- Edit this bug report at http://bugs.php.net/?id=48276&edit=1