/** * Returns information about the type of the current connection and the server host name. * @param resource $connection (optional) The database server connection, for detailed description see the method query(). * @return string/boolean Returns string data on success or FALSE on failure. */ public function get_host_info($connection = null) { return self::use_default_connection($connection) ? mysqli::mysqli_get_host_info() : mysqli::mysqli_get_host_info($connection); }