svn: /phpdoc/en/trunk/reference/datetime/functions/ gmmktime.xml

From: Date: Sun, 04 Dec 2011 22:19:30 +0000
Subject: svn: /phpdoc/en/trunk/reference/datetime/functions/ gmmktime.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9147@lists.php.net to get a copy of this message
frozenfire Sun, 04 Dec 2011 22:19:30 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=320390 Log: Replaced outdated windows boundary example with basic usage example. Closes bug #54430. Bug: https://bugs.php.net/54430 (Open) outdate example un gmmktime documentation Changed paths: U phpdoc/en/trunk/reference/datetime/functions/gmmktime.xml Modified: phpdoc/en/trunk/reference/datetime/functions/gmmktime.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/functions/gmmktime.xml 2011-12-04 22:17:07 UTC (rev 320389) +++ phpdoc/en/trunk/reference/datetime/functions/gmmktime.xml 2011-12-04 22:19:30 UTC (rev 320390) @@ -145,11 +145,12 @@ &reftitle.examples; <para> <example> - <title><function>gmmktime</function> on Windows boundary</title> + <title><function>gmmktime</function> basic example</title> <programlisting role="php"> <![CDATA[ <?php -gmmktime(0, 0, 0, 1, 1, 1970); // valid in GMT and west, invalid in east +// Prints: July 1, 2000 is on a Friday +echo "July 1, 2000 is on a " . date("l", gmmktime(0, 0, 0, 7, 1, 2000)); ?> ]]> </programlisting>

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