3v4l.org

run code in 200+ 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.2.0
Sunday
Output for 4.3.0 - 5.6.23, 7.0.0 - 7.0.8
Tuesday