Bug #55328 [Fbk->NoF]: bug in PDOStatement::bindColumn()
Edit report at https://bugs.php.net/bug.php?id=55328&edit=1
ID: 55328
Updated by: php-bugs@lists.php.net
Reported by: filakhtov at gmail dot com
Summary: bug in PDOStatement::bindColumn()
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: PDO related
Operating System: debian squeeze
PHP Version: 5.3.6
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2013-06-12 04:04:14] ssufficool@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
From your last comment it appears you no longer see this as a bug? Did you find
that the method returns False when the column does not exist?
------------------------------------------------------------------------
[2011-08-01 17:18:51] filakhtov at gmail dot com
Forgot to notice, what FALSE will be returned if column not found in current rowset.
------------------------------------------------------------------------
[2011-07-31 19:50:46] filakhtov at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/pdostatement.bindcolumn%23Parameters
---
I'm trying to use PDOStatement::bindColumn() method, but it always return TRUE, if it bound
variable to column, and even if it does not. Also it produce a WARNING, ignoring PDO::ATTR_ERRMODE
value, but seems warning reporting is now fixed in snapshots.
I think it should return FALSE on failure (that is what written in docs).
P. S. Sorry me for my bad english...
Expected result:
----------------
return FALSE if column does not bound successfully
Actual result:
--------------
TRUE, if column is bound or if it is not
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55328&edit=1
Thread (4 messages)