svn: /phpdoc/en/trunk/reference/datetime/ formats.xml

From: Date: Mon, 20 Jun 2016 19:23:59 +0000
Subject: svn: /phpdoc/en/trunk/reference/datetime/ formats.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14219@lists.php.net to get a copy of this message
cmb Mon, 20 Jun 2016 19:23:59 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339429 Log: Fix #72457: change in strtotime for invalid dates since 5.1.0 Bug: https://bugs.php.net/72457 (Verified) change in strtotime for invalid dates since 5.1.0 Changed paths: U phpdoc/en/trunk/reference/datetime/formats.xml Modified: phpdoc/en/trunk/reference/datetime/formats.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/formats.xml 2016-06-20 15:55:13 UTC (rev 339428) +++ phpdoc/en/trunk/reference/datetime/formats.xml 2016-06-20 19:23:59 UTC (rev 339429) @@ -429,6 +429,11 @@ to "2008-07-01" (June only has 30 days). </para> <para> + Note that as of PHP 5.1.0 the day range is restricted to 0-31 as indicated + by the regular expression above. Thus "2008-06-32" is not a valid date + string, for instance. + </para> + <para> It is also possible to underflow the <literal>mm</literal> and <literal>MM</literal> formats with the value 0. A month value of 0 means December of the previous year. As example "2008-00-22" is

« previous php.doc.cvs (#14219) next »