![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Bug #36988 (mktime freezes on long numbers) 3: --FILE-- 4: <?php 5: date_default_timezone_set('GMT'); 6: $start = microtime(true); 7: $a = mktime(1, 1, 1, 1, 1, 11111111111); 8: echo (microtime(true) - $start) < 1 ? "smaller than one second" : "more than a second"; 9: ?> 10: --EXPECT-- 11: smaller than one second