|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34048 ora_bind can not use like ora_bind($this->CURSOR,"output",":out",5, 2);
Submitted: 2005-08-09 13:06 UTC Modified: 2005-08-09 13:18 UTC
From: swingcoder at msn dot com Assigned:
Status: Wont fix Package: Oracle related
PHP Version: 5.0.4 OS: Red Hat Enterprise Linux AS rele
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-08-09 13:06 UTC] swingcoder at msn dot com
ora_bind can not use $this-> reference in a class. only support local variable.

Haven't you get a volonteer now yet?it is really a bug,if you not work for ora_* functions,then why not delete all of it!!

Reproduce code:
ora_parse($this->CURSOR, $sql) or die($this->ERROR($this->ORACLE_FLAG));

ora_bind($this->CURSOR,"output",":out",5, 2);

ora_exec($this->CURSOR) or die($this->ERROR($this->ORACLE_FLAG));
$this->output = $output;

Expected result:
[client] PHP Fatal error:  ora_bind() [<a href='function.ora-bind'>function.ora-bind</a>]: Could not make parameter placeholder in /usr/local/apache/htdocs/lib/class.db.php on line 130, referer:

Actual result:
$this->output should get the correct value.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-09 13:12 UTC]
Please try using this CVS snapshot:
For Windows:

And instead of using --with-oracle, use --with-oci8

 [2005-08-09 13:18 UTC]
ora_* functions are deprecated.
Use oci8* instead.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 18:03:37 2021 UTC