1--TEST--
2Test easter_date() on 64bit systems checks the upper year limit
3--SKIPIF--
4<?php if (PHP_INT_SIZE != 8) die("skip 64-bit only"); ?>
5--INI--
6date.timezone=UTC
7--ENV--
8TZ=UTC
9--EXTENSIONS--
10calendar
11--FILE--
12<?php
13putenv('TZ=UTC');
14try {
15    easter_date(293274701009);
16} catch (ValueError $ex) {
17    echo "{$ex->getMessage()}\n";
18}
19?>
20--EXPECT--
21easter_date(): Argument #1 ($year) must be a year before 2.000.000.000 (inclusive)
22