|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5179 Ora_bind and class variables
Submitted: 2000-06-21 20:24 UTC Modified: 2000-06-30 08:32 UTC
From: souza at acol dot com dot br Assigned:
Status: Closed Package: Oracle related
PHP Version: 4.0.0 Release OS: Linux 2.2.15
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: souza at acol dot com dot br
New email:
PHP Version: OS:


 [2000-06-21 20:24 UTC] souza at acol dot com dot br
Why this call of ora_bind doesn't work? 
(the variable "this->CstrName" exist and is working fine) 

ora_bind($hSql, "this->CstrName", ":name", 40, 1); 

When I execute the code above I receive the following message: 

Warning: Can't find variable for parameter in test_bind.php3 on line 24 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-30 08:32 UTC] thies at cvs dot php dot net
the ora_ interface only allows binding of globally declared variables.

use the newer oci*() interface if you want to bind variables like this.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Oct 23 13:03:35 2021 UTC