2006-07-09 16:30:02 +00:00
|
|
|
--TEST--
|
|
|
|
easter_date()
|
2006-07-11 14:15:38 +00:00
|
|
|
--INI--
|
|
|
|
date.timezone=UTC
|
2006-07-09 16:30:02 +00:00
|
|
|
--SKIPIF--
|
|
|
|
<?php include 'skipif.inc'; ?>
|
|
|
|
--FILE--
|
|
|
|
<?php
|
2008-05-27 18:16:04 +00:00
|
|
|
echo date("Y-m-d", easter_date(2000))."\n";
|
|
|
|
echo date("Y-m-d", easter_date(2001))."\n";
|
|
|
|
echo date("Y-m-d", easter_date(2002))."\n";
|
2006-07-09 22:42:05 +00:00
|
|
|
echo date("Y-m-d", easter_date(1492))."\n";
|
2006-07-09 16:30:02 +00:00
|
|
|
?>
|
2006-07-10 07:03:18 +00:00
|
|
|
--EXPECTF--
|
2006-12-04 18:30:05 +00:00
|
|
|
2000-04-23
|
|
|
|
2001-04-15
|
|
|
|
2002-03-31
|
2006-07-09 22:42:05 +00:00
|
|
|
|
2006-07-11 14:15:38 +00:00
|
|
|
Warning: easter_date(): This function is only valid for years between 1970 and 2037 inclusive in %s on line %d
|
2006-07-09 22:42:05 +00:00
|
|
|
1970-01-01
|