Doc #63522 [NEW]: Mistake in documentation

From: Date: Wed, 14 Nov 2012 20:57:24 +0000
Subject: Doc #63522 [NEW]: Mistake in documentation
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9130@lists.php.net to get a copy of this message
From: lemyx at ukr dot net Operating system: Win 7 PHP version: 5.3.18 Package: Documentation problem Bug Type: Documentation Problem Bug description:Mistake in documentation 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 bug report at https://bugs.php.net/bug.php?id=63522&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63522&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63522&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63522&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63522&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63522&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63522&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63522&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63522&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63522&r=support Expected behavior: https://bugs.php.net/fix.php?id=63522&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63522&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63522&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63522&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63522&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63522&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63522&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63522&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63522&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63522&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63522&r=mysqlcfg

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