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