xref: /PHP-7.1/ext/date/tests/big_year.phpt (revision 7af945e2)
1--TEST--
2Handling of large year values
3--SKIPIF--
4<?php echo PHP_INT_SIZE != 8 ? "skip 64-bit only" : "OK"; ?>
5--FILE--
6<?php
7date_default_timezone_set("America/Toronto");
8
9$t = mktime(0,0,0,1,1,292277026596);
10
11var_dump(date("r", $t));
12
13echo "OK\n";
14?>
15--EXPECT--
16string(39) "Fri, 01 Jan 292277026596 00:00:00 -0500"
17OK
18