3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump('2015:'.easter_date(2015)); var_dump('2016:'.easter_date(2016)); var_dump('2017:'.easter_date(2017)); var_dump('2018:'.easter_date(2018)); var_dump('2019:'.easter_date(2019)); var_dump('2020:'.easter_date(2020)); var_dump('2021:'.easter_date(2021)); var_dump('2022:'.easter_date(2022)); var_dump('2023:'.easter_date(2023)); var_dump('2024:'.easter_date(2024)); var_dump('2025:'.easter_date(2025)); var_dump('2026:'.easter_date(2026)); var_dump('2027:'.easter_date(2027)); var_dump('2028:'.easter_date(2028)); var_dump('2029:'.easter_date(2029)); var_dump('2030:'.easter_date(2030));
based on qmEM3
Output for 4.3.0 - 7.2.0
string(15) "2015:1428184800" string(15) "2016:1459033200" string(15) "2017:1492293600" string(15) "2018:1522533600" string(15) "2019:1555797600" string(15) "2020:1586642400" string(15) "2021:1617487200" string(15) "2022:1650146400" string(15) "2023:1680991200" string(15) "2024:1711839600" string(15) "2025:1745100000" string(15) "2026:1775340000" string(15) "2027:1806188400" string(15) "2028:1839448800" string(15) "2029:1869688800" string(15) "2030:1902952800"