dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

cubrid_lob2_bind> <cubrid_lob_send
[edit] Last updated: Fri, 28 Jun 2013

view this page in

cubrid_lob_size

(PECL CUBRID >= 8.3.1)

cubrid_lob_sizeGet BLOB/CLOB data size

Description

string cubrid_lob_size ( resource $lob_identifier )

cubrid_lob_size() is used to get BLOB/CLOB data size.

Parameters

lob_identifier

LOB identifier.

Return Values

A string representing LOB data size, when process is successful.

FALSE, when process is unsuccessful.

Changelog

Version Description
8.4.0 Change return value type from int to string.

Examples

Example #1 cubrid_lob_size() example

<?php
$lobs 
cubrid_lob_get($con"SELECT doc_content FROM doc WHERE doc_id=5");
echo 
"Doc size:".cubrid_lob_size($lobs[0]);
cubrid_lob_export($conn$lobs[0], "doc_5.txt");
cubrid_lob_close($lobs);
?>

See Also



add a note add a note User Contributed Notes cubrid_lob_size - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites