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

From: Date: Wed, 02 Apr 2008 02:41:36 +0000
Subject: #44602 [Opn]: PDOStatement-bindColumn does not document 2 default parameters
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-653@lists.php.net to get a copy of this message
ID: 44602 User updated by: ddascalescu at gmail dot com Reported By: ddascalescu at gmail dot com Status: Open Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: ...a class *extending* PDOStatement... Previous Comments: ------------------------------------------------------------------------ [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

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