<?php echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid');?>
<?php
echo (checkdate(4,31,2010) ? 'Valid' : 'Invalid');
?>
TRUE
FALSE
Valid
Invalid
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option D
Explanation :
April has 30 days and the above date is 31 therefore Invalid is returned.
Be The First To Comment