mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
13 lines
287 B
PHP
13 lines
287 B
PHP
--TEST--
|
|
Bug #36988 (mktime freezes on long numbers)
|
|
--INI--
|
|
date.timezone=GMT
|
|
--FILE--
|
|
<?php
|
|
$start = microtime(true);
|
|
$a = mktime(1, 1, 1, 1, 1, 11111111111);
|
|
echo (microtime(true) - $start) < 1 ? "smaller than one second" : "more than a second";
|
|
?>
|
|
--EXPECT--
|
|
smaller than one second
|