Home > PHP > Function > Firebird/InterBase > ibase_blob_close()

ibase_blob_close()

ibase_blob_close - Close blob

Syntax

mixed ibase_blob_close (resource $blob_handle)

Arguments

  • blob_handle - A BLOB handle opened with ibase_blob_create() or ibase_blob_open().

Description

This function closes a BLOB that has either been opened for reading by ibase_blob_open() or has been opened for writing by ibase_blob_create().

Version

PHP 4, 5

Return value

If the BLOB was being read, this function returns TRUE on success, if the BLOB was being written to, this function returns a string containing the BLOB id that has been assigned to it by the database. On failure, this function returns FALSE.