L Lan Anh New member Sep 20, 2021 #1 What will be the output of the following PHP code? Code: <?php echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); ?> A. TRUE B. FALSE C. Valid D. Invalid
What will be the output of the following PHP code? Code: <?php echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid'); ?> A. TRUE B. FALSE C. Valid D. Invalid
T Trần Thị Mai New member Sep 20, 2021 #2 Answer: d Explanation: The function checkdate() is used to validate a Gregorian date. In the program, April has 30 days and the above date is 31 therefore Invalid is returned. Upvote 0 Downvote
Answer: d Explanation: The function checkdate() is used to validate a Gregorian date. In the program, April has 30 days and the above date is 31 therefore Invalid is returned.