Update README.markdown

This commit is contained in:
fanjiapeng
2018-11-16 16:54:33 +08:00
parent 8918b3ea18
commit da2139dca6
+10 -2
View File
@@ -271,7 +271,7 @@ _**Description**_: Swap one Redis database with another atomically
##### *Return value*
`TRUE` on success and `FALSE` on failure.
*note*: Requires Redis >= 4.0.0
*Note*: Requires Redis >= 4.0.0
##### *Example*
~~~php
@@ -280,7 +280,15 @@ $redis->swapdb(0, 1); /* Swaps DB 0 with DB 1 atomically */
### close
-----
_**Description**_: Disconnects from the Redis instance, except when `pconnect` is used.
_**Description**_: Disconnects from the Redis instance, include when `pconnect` is used.
*Note*: Requires Redis >= 4.2.0, phpredis can closed the persistent connection.
##### *Parameters*
None.
##### *Return value*
*BOOL*: `TRUE` on success, `FALSE` on failure.
### setOption
-----