--TEST-- Bug #44008 (Incorrect usage of OCI-Lob->close doesn't crash PHP) --SKIPIF-- --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" ); foreach ($stmtarray as $stmt) { $s = oci_parse($c, $stmt); oci_execute($s); } oci_close($c); echo "Done\n"; ?> --EXPECT-- A Done