FrontBase Functions
PHP Manual


(PHP 4 >= 4.2.0, PHP 5, PHP 7)

fbsql_blob_sizeGet the size of a BLOB


int fbsql_blob_size ( string $blob_handle [, resource $link_identifier ] )

Returns the size of the given BLOB.



A BLOB handle, returned by fbsql_create_blob().


A FrontBase link identifier returned by fbsql_connect() or fbsql_pconnect().

If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect() was called with no arguments.

Return Values

Returns the BLOB size as an integer, or FALSE on error.

See Also

FrontBase Functions
PHP Manual