php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #44602 PDOStatement-bindColumn does not document 2 default parameters
Submitted: 2008-04-02 02:28 UTC Modified: 2008-04-02 11:02 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: ddascalescu at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ddascalescu at gmail dot com
New email:
PHP Version: OS:

 

 [2008-04-02 02:28 UTC] 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).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-02 02:41 UTC] ddascalescu at gmail dot com
...a class *extending* PDOStatement...
 [2008-04-02 11:02 UTC] felipe@php.net
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.


 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of felipe
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=0f452e61e62ae3476a780887a8b5b95120f443aa
Log: Fixed bug #44602 (PDOStatement-bindColumn does not document 2 default parameters)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 05:00:01 2026 UTC