From: don dot miguel at gmx dot ch Operating system: Windows 2000 PHP version: 4.3.0 PHP Bug Type: OCI8 related Bug description: OCINewDescriptor()
My Simple Test Programm is: putenv('ORACLE_SID=SEMINAR'); putenv('ORACLE_HOME=D:\oracle\ora92'); $conn = OCIPLogon('michi','michi'); $query = "begin ctx_doc.themes('idx_text','22',:result);end;"; $curs = OCIParse($conn,$query); $clob = OCINewDescriptor($conn,OCI_D_LOB); OCIBindByName($curs,":result",&$clob,-1,OCI_B_CLOB); $success = OCIExecute($curs,OCI_DEFAULT); echo $clob->load(); $clob->free(); OCIFreeStatement($curs); Which result is: Warning: OCIStmtExecute: ORA-22275: invalid LOB locator specified in c:\program files\apache group\apache\htdocs\textseminar\test.php on line 11 Warning: OCILobGetLength: OCI_INVALID_HANDLE in c:\program files\apache group\apache\htdocs\textseminar\test.php on line 12 ==> I can't acces the CLOB wich is returned by the PL/SQL procedure: ctx_doc.themes(index_name,textkey,restab)! -- Edit bug report at http://bugs.php.net/?id=23041&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23041&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23041&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23041&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23041&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23041&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23041&r=support Expected behavior: http://bugs.php.net/fix.php?id=23041&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23041&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23041&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23041&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23041&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23041&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23041&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23041&r=gnused