|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-03-07 19:18 UTC] 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); ?>
Patchesnopatch (last revision 2010-03-07 18:19 UTC by dimitry at bansikov dot de)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 13:00:02 2025 UTC |
Tnx for answer. The solution is to use php5.3? But i need php5.2 :( My problem is different to #48851 date("Y",10000000000000000); - execution time 1 sec date("Y",100000000000000000); - execution time 10 sec date("Y",1000000000000000000); - execution time 100 sec maybe can you help and say where can i fix this problem?