3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $jd=cal_to_jd(CAL_GREGORIAN,date("m"),date("d"),date("Y")); echo(jddayofweek($jd,1)); ?>
Output for 5.6.28, 7.0.12 - 7.1.0
Sunday
Output for 4.3.0 - 5.6.23, 7.0.0 - 7.0.8
Tuesday
Output for hhvm-3.10.0 - 3.12.0
Fatal error: Call to undefined function cal_to_jd() in /in/vQQqI on line 2
Process exited with code 255.