Memcache::flush(PECL memcache >= 1.0.0) Memcache::flush — Flush all existing items at the server Описание
bool Memcache::flush
( void
)
Memcache::flush() immediately invalidates all existing items. Memcache::flush() doesn't actually free any resources, it only marks all the items as expired, so occupied memory will be overwritten by new items. Also you can use memcache_flush() function. Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. Примеры
Пример #1 Memcache::flush() example
<?php |
||