Edit report at http://bugs.php.net/bug.php?id=51230&edit=1

 ID:               51230
 Updated by:       [email protected]
 Reported by:      dimitry at bansikov dot de
 Summary:          OVERLOAD using date() function with big integer, CPU
                   100%
-Status:           Open
+Status:           Duplicate
 Type:             Bug
 Package:          Date/time related
 Operating System: Debian5 64bit
 PHP Version:      5.2.13

 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Duplicate of #48851.


Previous Comments:
------------------------------------------------------------------------
[2010-03-07 19:18:41] dimitry at bansikov dot de

Description:
------------
On 64bit OS and using data() function with big integer as timestamp -
php come to overload (infinitely runtime + use CPU 100%) 

Please fix this bug, limit max timestamp as parameter.

To check on 64bit OS:  date("d.m.Y",100000000000000000);

Test script:
---------------
<? echo date("d.m.Y",100000000000000000); ?>



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51230&edit=1

Reply via email to