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

search for in the

Memcached::increment> <Memcached::getStats
Last updated: Fri, 14 Aug 2009

view this page in

Memcached::getVersion

(PECL memcached >= 0.1.5)

Memcached::getVersionLit les informations de version du pool serveur

Description

public array Memcached::getVersion ( void )

Memcached::getVersion() retourne un tableau contenant les informations de version disponibles de tous les serveurs memcache.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Tableau de versions de serveurs, une par serveur.

Exemples

Exemple #1 Exemple avec Memcached::getVersion()

<?php
$m 
= new Memcached();
$m->addServer('localhost'11211);

print_r($m->getVersion());
?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

Array
(
    [localhost:11211] => 1.2.6
)



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

Memcached::increment> <Memcached::getStats
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites