summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug36988.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/bug36988.phpt')
-rw-r--r--ext/date/tests/bug36988.phpt3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/date/tests/bug36988.phpt b/ext/date/tests/bug36988.phpt
index d35e58939a..c37d1fb768 100644
--- a/ext/date/tests/bug36988.phpt
+++ b/ext/date/tests/bug36988.phpt
@@ -1,9 +1,8 @@
--TEST--
Bug #36988 (mktime freezes on long numbers)
---INI--
-date.timezone=GMT
--FILE--
<?php
+date_default_timezone_set('GMT');
$start = microtime(true);
$a = mktime(1, 1, 1, 1, 1, 11111111111);
echo (microtime(true) - $start) < 1 ? "smaller than one second" : "more than a second";