1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Files
archived-php-src/ext/date/tests/big_year.phpt
T
Fabien Villepinte 0aa3acc6c4 Fix borked SKIPIFs
2019-09-30 17:51:41 +02:00

18 lines
316 B
PHP

--TEST--
Handling of large year values
--SKIPIF--
<?php if (PHP_INT_SIZE != 8) die("skip 64-bit only"); ?>
--FILE--
<?php
date_default_timezone_set("America/Toronto");
$t = mktime(0,0,0,1,1,292277026596);
var_dump(date("r", $t));
echo "OK\n";
?>
--EXPECT--
string(39) "Fri, 01 Jan 292277026596 00:00:00 -0500"
OK