--TEST-- Bug #44008 (Incorrect usage of OCI-Lob->close crashes PHP) --SKIPIF-- true, 'timesten' => false); // test runs on these DBs require(dirname(__FILE__).'/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 OCI-Lob->writeTemporary() $textLob->close(); // Cleanup $stmtarray = array( "drop procedure bug44008_proc" ); oci8_test_sql_execute($c, $stmtarray); echo "Done\n"; ?> --EXPECT-- A Done