|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-11-21 02:07 UTC] ccetanr at nus dot edu dot sg
Description: ------------ When return the value from the function, no value is returned. Reproduce code: --------------- <?php $check = checkdate(11,32,2003); print_r($check); ?> Expected result: ---------------- Nothing returns? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 15 07:00:01 2025 UTC |
Not a bug. the fuction returns TRUE or FALSE. you can test e.g if (checkdate(11,32,2003)) { echo "Date ok"; } else { echo "Date not ok"; } Look at the documentation at http://us4.php.net/manual/en/function.checkdate.php Roland