Basically have $dbConn (a database connection) and I'm not sure whether it's MySQL, MSSQL or PostgreSQL can one tell which kind of connection it's?

Wanted to understand if there's a means to return the bond kind of an origin id?

EDIT: Sorry, yes PHP added the tag

$connection = mysql_connect(...); 

$is_mysql = (get_resource_type($connection) == 'mysql link');
$is_ibase = (get_resource_type($connection) == 'Firebird/InterBase link'); // *

var_dump($is_mysql); // -> true

// * supposed to be "interbase link" but isn't any longer