Memcached flush_all command is used to clear all key=>value(key=>value) pairs in the cache.
This command provides an optional parameter time, which is used to clear the cache after the specified time.
Syntax:
The basic syntax format of the flush_all command is as follows:
flush_all [time] [noreply]
Example
Clear cache:
set php 0 900 9 memcached STORED get php VALUE php 0 9 memcached END flush_all OK get php END












![Getting Started with PHP Practical Development: PHP Quick Creation [Small Business Forum]](https://img.php.cn/upload/course/000/000/035/5d27fb58823dc974.jpg)









