CUBRID PHP API provides [cubrid_column_types()|http://php.net/manual/en/function.cubrid-column-types.php] function. When given a request identifier, it returns either an *Array* of string which containing column types, when process is successful, or *FALSE*, when process is unsuccessful.
If the query executed was
{code}
select count(*) as count from db_serial where name='xe_sequence'
{code}
The function throws an exception *PHP Warning: Error: CLIENT, -2005, Unknown column type*.
It's clear that *count* doesn't have column type defined, but the driver should understand and return the suitable data type such as integer.