3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num = cal_days_in_month(CAL_JEWISH, 8, 2003); // 31 echo "There was $num days in August 2003"; ?>
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
There was 30 days in August 2003
Output for hhvm-3.12.0
Fatal error: Uncaught Error: Call to undefined function cal_days_in_month() in /in/ecdJ4:2 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: Call to undefined function cal_days_in_month() in /in/ecdJ4 on line 2
Process exited with code 255.