Doc #69775 [NEW]: fetchColumn() example is misleading

From: Date: Mon, 08 Jun 2015 19:34:03 +0000
Subject: Doc #69775 [NEW]: fetchColumn() example is misleading
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12394@lists.php.net to get a copy of this message
From: cmb Operating system: n/a PHP version: Irrelevant Package: PDO SQLite Bug Type: Documentation Problem Bug description:fetchColumn() example is misleading Description: ------------ --- From manual page: http://www.php.net/pdostatement.fetchcolumn --- As can be seen from the user contributes notes, example#1 on the PDOStatement::fetchColumn man page is apparently misleading. It might be best to change it (see attached patch fetchcolumn-example). Then the following notes can be deleted: * <http://php.net/manual/en/pdostatement.fetchcolumn.php#115694> * <http://php.net/manual/en/pdostatement.fetchcolumn.php#117420> * <http://php.net/manual/en/pdostatement.fetchcolumn.php#116646> -- Edit bug report at https://bugs.php.net/bug.php?id=69775&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69775&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69775&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69775&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69775&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69775&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69775&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69775&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69775&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69775&r=support Expected behavior: https://bugs.php.net/fix.php?id=69775&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69775&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69775&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69775&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69775&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69775&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69775&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69775&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69775&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69775&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69775&r=mysqlcfg

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