save

PHP Redis

save

Description

Performs a synchronous save.

同步执行写入到磁盘。

Parameters

None.

Return value

BOOLTRUE in case of success, FALSE in case of failure. If a save is already running, this command will fail and return FALSE.

Example
$redis->save();