3v4l.org

run code in 200+ php & hhvm versions
<?php echo cal_days_in_month(CAL_FRENCH, 13, 14);
based on pHGkX
Output for 7.1.20 - 7.3.1
Fatal error: Uncaught Error: Call to undefined function cal_days_in_month() in /in/2vhM7:3 Stack trace: #0 {main} thrown in /in/2vhM7 on line 3
Process exited with code 255.
Output for 5.6.28, 7.0.14 - 7.1.7
5
Output for 4.3.0 - 5.6.21, 7.0.0 - 7.0.6
-2380948