源代码:
"; echo "Easter Day was ". easter_days(1990) . " days after March 21 in 1990.
"; echo "Easter Day was ". easter_days(1342) . " days after March 21 in 1342.
"; echo "Easter Day will be ". easter_days(2050) . " days after March 21 in 2050."; ?>
运行结果:
Easter Day is 10 days after March 21 this year.
Easter Day was 25 days after March 21 in 1990.
Easter Day was 10 days after March 21 in 1342.
Easter Day will be 20 days after March 21 in 2050.