nlopess Sat Feb 18 22:55:35 2006 UTC
Modified files: /phpdoc/en/reference/datetime/functions mktime.xml Log: fix #36401: year, month and day can be passed as 0 http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/datetime/functions/mktime.xml?r1=1.20&r2=1.21&diff_format=u Index: phpdoc/en/reference/datetime/functions/mktime.xml diff -u phpdoc/en/reference/datetime/functions/mktime.xml:1.20 phpdoc/en/reference/datetime/functions/mktime.xml:1.21 --- phpdoc/en/reference/datetime/functions/mktime.xml:1.20 Mon Aug 15 16:01:08 2005 +++ phpdoc/en/reference/datetime/functions/mktime.xml Sat Feb 18 22:55:35 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.20 $ --> +<!-- $Revision: 1.21 $ --> <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 --> <refentry id="function.mktime"> <refnamediv> @@ -122,8 +122,8 @@ <para> <function>mktime</function> returns the Unix timestamp of the arguments given. - If the arguments are invalid (eg. if the year, month and day are all 0), the - function returns &false; (before PHP 5.1 it returned <literal>-1</literal>). + If the arguments are invalid, the function returns &false; (before PHP 5.1 + it returned <literal>-1</literal>). </para> </refsect1> @@ -149,6 +149,8 @@ The <parameter>is_dst</parameter> parameter became deprecated. Made the function return &false; on error, instead of <literal>-1</literal>. + Fixed the function to accept the year, month and day to be all passed + as zero. </entry> </row> </tbody>