ID: 48276 User updated by: info at programmiernutte dot net Reported By: info at programmiernutte dot net -Status: Feedback +Status: Open Bug Type: Date/time related -Operating System: Max OS X 10.4 PPC +Operating System: Mac OS X 10.4 PPC PHP Version: 5.3.0RC2 New Comment:
Me neither, I have 5.3.0RC2 flawlessly working on Linux, The issue occurs on my development system on Mac OS X 10.4 PPC only with 5.3.0RC2. RC1 works correct. Strange, I know. Previous Comments: ------------------------------------------------------------------------ [2009-05-14 08:40:31] der...@php.net Bleh, wrong link. Anyway, I can not reproduce this on Linux. ------------------------------------------------------------------------ [2009-05-14 08:39:43] der...@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2009-05-14 08:17:22] info at programmiernutte dot net Description: ------------ After upgrading to 5.3.0 RC2, date('Y') always returns 0000. No php.ini setting (date.timezone) seems to have any influence. date('y') works as expected and returns 09. This Problem did not occur with 5.3.0RC1. Reproduce code: --------------- marvin:~/src/php-5.3.0RC2 thomas$ ./sapi/cli/php <?=date('Y') ?> 0000 Expected result: ---------------- marvin:~/src/php-5.3.0RC2 thomas$ ./sapi/cli/php <?=date('Y') ?> 2009 Actual result: -------------- marvin:~/src/php-5.3.0RC2 thomas$ ./sapi/cli/php <?=date('Y') ?> 0000 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48276&edit=1