PHP: Memcache::getVersion - Manual

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

search for in the

Memcache::increment Memcache::getStats

Last updated: Sat, 27 Jan 2007

view this page in

# Memcache::getVersion

(no version information, might be only in CVS)

Memcache::getVersion -- Return version of the server

## Описание

string Memcache::getVersion ( void )

Memcache::getVersion() returns a string with server's version number. Also you can use memcache_get_version() function.

## Возвращаемые значения

Returns a string of server version number or `FALSE` on failure.

## Примеры

Пример 1. Memcache::getVersion() example

`<?php
/* OO API */
$memcache = new Memcache;
$memcache->connect('memcache_host', 11211);
echo $memcache->getVersion();
/* procedural API */
$memcache = memcache_connect('memcache_host', 11211);
echo memcache_get_version($memcache);
?>`

## Смотрите также

Memcache::getExtendedStats()
Memcache::getStats()

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

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST