#44602 [Opn->Csd]: PDOStatement-bindColumn does not document 2 default parameters
| From: | felipe@php.net | Date: | Wed, 02 Apr 2008 11:02:41 +0000 |
| Subject: | #44602 [Opn->Csd]: PDOStatement-bindColumn does not document 2 default parameters | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-657@lists.php.net to get a copy of this message | ||
ID: 44602
Updated by: felipe@php.net
Reported By: ddascalescu at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
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:
------------------------------------------------------------------------
[2008-04-02 02:41:36] ddascalescu at gmail dot com
...a class *extending* PDOStatement...
------------------------------------------------------------------------
[2008-04-02 02:28:27] ddascalescu at gmail dot com
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 this bug report at http://bugs.php.net/?id=44602&edit=1