3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php putenv('TZ=UTC'); ini_set("hhvm.enable_zend_compat", 1); 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"; echo date("Y-m-d", easter_date(1492))."\n"; ?>
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
2000-04-23 2001-04-15 2002-03-31 Warning: easter_date(): This function is only valid for years between 1970 and 2037 inclusive in /in/j1WC5 on line 7 1970-01-01
Output for hhvm-3.12.0
Fatal error: Uncaught Error: Call to undefined function easter_date() in /in/j1WC5:4 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: Call to undefined function easter_date() in /in/j1WC5 on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
2000-04-23 2001-04-15 2002-03-31 Warning: easter_date() [http://www.php.net/function.easter-date]: This function is only valid for years between 1970 and 2037 inclusive in /in/j1WC5 on line 7 1970-01-01