Suppose you do a
SELECT NAME,DATA FROM STUFF
where data is a lob.
do
$cur = ociparse($conn,"SELECT NAME,DATA FROM STUFF");
ociexecute($cur);
ocifetchinto($cur,$data,OCI_RETURN_LOBS);
that should do it. alternatively you could skip the OCI_RETURN_LOBS part and call the load method of the lob.
$cur = ociparse($conn,"SELECT NAME,DATA FROM STUFF");
ociexecute($cur);
ocifetchinto($cur,$data);
// Data is an arrat with it's second param
// being a LOB
$data[2]->load();