#34048 [NEW]: ora_bind can not use like ora_bind($this->CURSOR,"output",":out",5, 2);
| From: | swingcoder at msn dot com | Date: | Tue, 09 Aug 2005 11:06:44 +0000 |
| Subject: | #34048 [NEW]: ora_bind can not use like ora_bind($this->CURSOR,"output",":out",5, 2); | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-83232@lists.php.net to get a copy of this message | ||
From: swingcoder at msn dot com
Operating system: Red Hat Enterprise Linux AS rele
PHP version: 5.0.4
PHP Bug Type: Oracle related
Bug description: ora_bind can not use like
ora_bind($this->CURSOR,"output",":out",5, 2);
Description:
------------
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 192.168.100.227] 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: http://192.168.100.42/admin/index.php
Actual result:
--------------
$this->output should get the correct value.
--
Edit bug report at http://bugs.php.net/?id=34048&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34048&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34048&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34048&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34048&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34048&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34048&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34048&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34048&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34048&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34048&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34048&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34048&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34048&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34048&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34048&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34048&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34048&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34048&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34048&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34048&r=mysqlcfg