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_JEWISH)); ?>
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Array ( [date] => 12/18/5763 [month] => 12 [day] => 18 [year] => 5763 [dow] => 6 [abbrevdayname] => Sat [dayname] => Saturday [abbrevmonth] => Av [monthname] => Av )
Output for hhvm-3.12.0
Fatal error: Uncaught Error: Call to undefined function unixtojd() in /in/BSLhj:2 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: Call to undefined function unixtojd() in /in/BSLhj on line 2
Process exited with code 255.