xref: /PHP-5.3/ext/date/tests/bug36988.phpt (revision a9e5e222)
1--TEST--
2Bug #36988 (mktime freezes on long numbers)
3--FILE--
4<?php
5date_default_timezone_set('GMT');
6$start = microtime(true);
7$a = mktime(1, 1, 1, 1, 1, 11111111111);
8echo (microtime(true) - $start) < 1 ? "smaller than one second" : "more than a second";
9?>
10--EXPECT--
11smaller than one second
12