|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
28 + 14 = ?
Subscribe to this entry?

 [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: Thu Oct 28 22:03:34 2021 UTC