Doc #63522 [Opn->Csd]: Mistake in documentation

From: Date: Wed, 14 Nov 2012 22:07:19 +0000
Subject: Doc #63522 [Opn->Csd]: Mistake in documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9131@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63522&edit=1 ID: 63522 Updated by: krakjoe@php.net Reported by: lemyx at ukr dot net Summary: Mistake in documentation -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: Win 7 PHP Version: 5.3.18 -Assigned To: +Assigned To: krakjoe Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2012-11-14 20:57:24] lemyx at ukr dot net Description: ------------ --- From manual page: http://www.php.net/function.gmmktime#refsect1-function.gmmktime-examples --- On the manual page there is "Example #1 gmmktime() basic example" <?php // Prints: July 1, 2000 is on a Friday echo "July 1, 2000 is on a " . date("l", gmmktime(0, 0, 0, 7, 1, 2000)); ?> But actualy this example prints July 1, 2000 is on a Saturday not July 1, 2000 is on a Friday Test script: --------------- echo "July 1, 2000 is on a " . date("l", gmmktime(0, 0, 0, 7, 1, 2000)); Expected result: ---------------- July 1, 2000 is on a Saturday Actual result: -------------- July 1, 2000 is on a Saturday ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63522&edit=1

« previous php.doc.bugs (#9131) next »