3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $today = unixtojd(mktime(0, 0, 0, 8, 16, 2003)); print_r(cal_from_jd($today, CAL_GREGORIAN)); ?>
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Array ( [date] => 8/16/2003 [month] => 8 [day] => 16 [year] => 2003 [dow] => 6 [abbrevdayname] => Sat [dayname] => Saturday [abbrevmonth] => Aug [monthname] => August )
Output for hhvm-3.10.0 - 3.12.0
Fatal error: Call to undefined function unixtojd() in /in/IP98W on line 2
Process exited with code 255.