|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #55153 please accept variable null params
Submitted: 2011-07-06 21:22 UTC Modified: 2011-07-06 23:16 UTC
From: davidvleung at gmail dot com Assigned:
Status: Closed Package: PDO related
PHP Version: 5.3SVN-2011-07-07 (SVN) OS: win7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: davidvleung at gmail dot com
New email:
PHP Version: OS:


 [2011-07-06 21:22 UTC] davidvleung at gmail dot com
From manual page:

bindParam() really ought to be able to accept a null parameter.  


would make much more sense rather than the application checking and converting 
null every time.  I imagine a simple empty check would work fine within the 
implementation.  Seems similar to bug#15719. Pleeease consider this 
functionality as it would save a ton of us more time. 



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-06 23:16 UTC] davidvleung at gmail dot com
-Status: Open +Status: Closed
 [2011-07-06 23:16 UTC] davidvleung at gmail dot com
nevermind, haven't full qualified as an error.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 27 04:03:38 2021 UTC