$sql = "select clobid into :clid from tablename";
$stmt = OCIParse($conn,$sql);
$clid = OCINewDescriptor($conn, OCI_B_CLOB);
OCIBindByName($stmt, ":clid", &$clid, -1, OCI_B_CLOB);
OCIExecute($stmt);
... ...
$clid->free();
OCIFreeStatement($stmt);