close

PHP Redis

close

Description

Disconnects from the Redis instance, except when pconnect is used.

关闭Redis的连接实例,但是不能关闭用pconnect连接的实例

$redis->close();