|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-05-22 16:50 UTC] stas at zend dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 14:00:01 2025 UTC |
Description: ------------ <?php $dateFormatter=new DateFormatter("en_US",DateFormatter::LONG,DateFormatter::SHORT,date_default_timezone_get()); print_r( $dateFormatter->localtime($dateFormatter->format(56580),null)); ?> It will output an array at a 32-bit system, but null at 64-bit system. Reproduce code: --------------- <?php $dateFormatter=new DateFormatter("en_US",DateFormatter::LONG,DateFormatter::SHORT,date_default_timezone_get()); print_r( $dateFormatter->localtime($dateFormatter->format(56580),null)); ?> Expected result: ---------------- An array printed out. Actual result: -------------- null