+ 7

[Solved] PHP function not working please help

This code show error undefined function in SoloLearn Code Playground $d=cal_days_in_month(CAL_GREGORIAN,2,1965); echo "There was $d days in February 1965.\n"; $d=cal_days_in_month(CAL_GREGORIAN,2,2004); echo "There was $d days in February 2004.";

24th May 2021, 11:46 AM
Gaurav Dixit🇮🇳
Gaurav Dixit🇮🇳 - avatar
7 ответов
+ 2
Looper, Maybe it is best to confirm this to SoloLearn team instead (by sending an e-mail to info@sololearn.com). Idk for sure whether or not calendar was configured (enabled) in SoloLearn.
24th May 2021, 4:37 PM
Ipang
+ 4
Ipang work in my localhost and my hosted server but not run in SoloLearn Code Playground
24th May 2021, 4:16 PM
Gaurav Dixit🇮🇳
Gaurav Dixit🇮🇳 - avatar
+ 3
Ipang Thanks Man ☺
24th May 2021, 4:40 PM
Gaurav Dixit🇮🇳
Gaurav Dixit🇮🇳 - avatar
+ 2
Anytime bro! 👌
24th May 2021, 4:44 PM
Ipang
0
okok
7th Jun 2021, 5:51 PM
Anastasija Petric
Anastasija Petric - avatar
0
mayatompai@gmail.com
8th Jun 2021, 1:56 AM
Maya Tompai
Maya Tompai - avatar