|
Memcache::get(PECL memcache >= 0.2.0) Memcache::get — Retrieve item from the server Описание
string Memcache::get
( string $key
[, int &$flags
] )
array Memcache::get
( array $keys
[, array &$flags
] )
Memcache::get() returns previously stored data if an item with such key exists on the server at this moment. You can pass array of keys to Memcache::get() to get array of values. The result array will contain only found key-value pairs. Список параметров
Возвращаемые значенияReturns the string associated with the key or FALSE on failure or if such key was not found. Примеры
Пример #1 Memcache::get() example
<?php |
|