--TEST-- Bug #42496 (LOB fetch leaks cursors, eventually failing with ORA-1000 maximum open cursors reached) --SKIPIF-- --FILE-- free(); $arr['C2']->free(); } } oci_free_statement($s); } echo "Done\n"; // Cleanup $stmtarray = array( "DROP table bug42496_tab" ); foreach ($stmtarray as $stmt) { $s = oci_parse($c, $stmt); @oci_execute($s); } oci_close($c); ?> --EXPECTF-- Test 2 Done