--TEST-- Bug #44008 (Incorrect usage of OCILob->close crashes PHP) --EXTENSIONS-- oci8 --SKIPIF-- true, 'timesten' => false); // test runs on these DBs require __DIR__.'/skipif.inc'; ?> --FILE-- load(); echo "$r\n"; // Incorrectly closing the lob doesn't cause a crash. // OCI-LOB->close() is documented for use only with OCILob->writeTemporary() $textLob->close(); // Cleanup $stmtarray = array( "drop procedure bug44008_proc" ); oci8_test_sql_execute($c, $stmtarray); echo "Done\n"; ?> --EXPECT-- A Done