downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mysqli::get_connection_stats> <mysqli::get_client_stats
Last updated: Fri, 13 Nov 2009

view this page in

mysqli::get_client_version

mysqli_get_client_version

(PHP 5)

mysqli::get_client_version -- mysqli_get_client_versionObtém informação sobre o cliente MySQL

Descrição

int mysqli::get_client_version ( void )
int mysqli_get_client_version ( void )

Retorna a versão do cliente como um inteiro.

Valor Retornado

Um número que representa a versão da biblioteca de cliente MySQL no formato: versão_principal*10000 + versão_menor *100 + sub_versão. Por exemplo, 4.1.0 é retornado como 40100.

Isto é útil para determinar rapidamente a versão da biblioteca de cliente para saber se alguma funcionalidade existe.

Exemplos

Exemplo #1 mysqli_get_client_version

<?php

/* We don't need a connection to determine
   the version of mysql client library */

printf("Client library version: %d\n"mysqli_get_client_version());
?>

Veja Também



add a note add a note User Contributed Notes
mysqli::get_client_version
There are no user contributed notes for this page.

mysqli::get_connection_stats> <mysqli::get_client_stats
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites