Edit report at https://bugs.php.net/bug.php?id=52062&edit=1
ID: 52062 Updated by: s...@php.net Reported by: dan at bnet dot lt Summary: large timestamps with DateTime::getTimestamp and DateTime::setTimestamp -Status: Assigned +Status: Closed Type: Bug Package: Date/time related Operating System: Ubuntu i686 2.6.32-22-generic PHP Version: 5.4.0RC4 Assigned To: derick Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Works for me in 5.4 on both 32-bit and 64-bit, so looks like it's fixed. Previous Comments: ------------------------------------------------------------------------ [2013-04-14 16:23:34] pbxanime at gmail dot com Related To: Bug #64606 ------------------------------------------------------------------------ [2012-08-13 17:21:43] ni...@php.net This test currently passes for me (I get a warning for a passing xfail test). So is this fixed? Or depending on OS or something? ------------------------------------------------------------------------ [2012-07-24 23:38:15] ras...@php.net Automatic comment on behalf of derick Revision: http://git.php.net/?p=php-src.git;a=commit;h=b2b7d5b94314e34f9b2a69e1b7e25aa7dd3e4a5c Log: - Fixed bug #52062: large timestamps with DateTime::getTimestamp and DateTime::setTimestamp. ------------------------------------------------------------------------ [2012-07-24 23:38:12] ras...@php.net Automatic comment on behalf of derick Revision: http://git.php.net/?p=php-src.git;a=commit;h=4c9fad8b362a7d2b6a94b4961e4b2dc037b2766d Log: - Fixed bug #53502 (strtotime with timezone memory leak). - Fixed bug #52062 (large timestamps with DateTime::getTimestamp and DateTime::setTimestamp). - Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz' format). - Fixed bug #51223 (Seg fault while creating (by unserialization) DatePeriod). ------------------------------------------------------------------------ [2012-07-24 23:36:15] ras...@php.net Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=7a2a75d0570e685e3d644e3e4931b92463ef9eb0 Log: Fix bug #61609 Test ext\date\tests\bug52062.phpt fails As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php this is the generic 32 bit timestamp issue ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=52062 -- Edit this bug report at https://bugs.php.net/bug.php?id=52062&edit=1