ID:               26342
 Comment by:       roleli at hotmail dot com
 Reported By:      ccetanr at nus dot edu dot sg
 Status:           Open
 Bug Type:         Date/time related
 Operating System: WIN XP
 PHP Version:      4.3.4
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2003-11-21 02:07:31] 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?



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26342&edit=1

Reply via email to