There is a [feature request|http://www.cubrid.org/?mid=forumdocument_srl=349786rnd=350368#comment_350282] by a user who is asking for a function which would return a LOB data to a variable.
Currently [cubrid_lob_get()|http://www.php.net/manual/en/function.cubrid-lob-get.php] returns an array of resources, which have to be passed to either [cubrid_lob_send()|http://www.php.net/manual/en/function.cubrid-lob-send.php], which directly sends the LOB data to a browser, or [cubrid_lob_export()|http://www.php.net/manual/en/function.cubrid-lob-export.php], which saves the LOB data to a file.
So, there is no a function which would return a variable that holds the LOB data. I understand that there can be memory issues for programming environment due to the big size of LOB data. But this is the developers/users issue. Sometimes they just know that the size is small, like images, that they can safely work with variables.
Please see if we can implement this feature.