There was an error while loading. Please reload this page.
1 parent 99ec24b commit 4ab1f94Copy full SHA for 4ab1f94
1 file changed
README.markdown
@@ -2835,13 +2835,11 @@ $redis->zPopMax(string $key, int $count): array
2835
2836
##### *Example*
2837
~~~php
2838
-/* Wait up to 5 seconds to pop the *lowest* scoring member from sets `zs1` and `zs2`. */
2839
-$redis->bzPopMin(['zs1', 'zs2'], 5);
2840
-$redis->bzPopMin('zs1', 'zs2', 5);
+/* Pop the *lowest* scoring member from set `zs1`. */
+$redis->zPopMin('zs1', 5);
2841
2842
-/* Wait up to 5 seconds to pop the *highest* scoring member from sets `zs1` and `zs2` */
2843
-$redis->bzPopMax(['zs1', 'zs2'], 5);
2844
-$redis->bzPopMax('zs1', 'zs2', 5);
+/* Pop the *highest* scoring member from set `zs1`. */
+$redis->zPopMax('zs1', 5);
2845
~~~
2846
2847
### zRange
0 commit comments