#44602 [NEW]: PDOStatement-bindColumn does not document 2 default parameters

From: Date: Wed, 02 Apr 2008 02:28:27 +0000
Subject: #44602 [NEW]: PDOStatement-bindColumn does not document 2 default parameters
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-652@lists.php.net to get a copy of this message
From: ddascalescu at gmail dot com Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: PDOStatement-bindColumn does not document 2 default parameters Description: ------------ I was writing a class implementing PDOStatement and kept getting PHP Stricts Standards error messages that my declaration of MYClass::bindColumn() should be compatible with that of PDOStatement::bindColumn(). The problem is http://php.net/manual/en/function.PDOStatement-bindColumn.php only lists 3 parameters, and by looking at the source code (pdo_stmt.c), one can see that two more parameters are defined (maxlen and driverdata). -- Edit bug report at http://bugs.php.net/?id=44602&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44602&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44602&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44602&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44602&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44602&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44602&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44602&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44602&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44602&r=support Expected behavior: http://bugs.php.net/fix.php?id=44602&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44602&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44602&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44602&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44602&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44602&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44602&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44602&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44602&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44602&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44602&r=mysqlcfg

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