xref: /PHP-5.4/ext/date/tests/big_year.phpt (revision 6f66356d)
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(36) "Fri, 01 Jan 219250468 00:00:00 -0500"
17OK
18