3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num = cal_days_in_month(CAL_JULIAN, 8, 2003); // 31 echo "There was $num days in August 2003"; ?>
Output for 4.3.0 - 7.1.0
There was 31 days in August 2003