Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/redis.c b/redis.c
index 8c4cada6..30e8f401 100644
--- a/redis.c
+++ b/redis.c
@@ -1253,6 +1253,13 @@ PHP_METHOD(Redis, lPop)
}
/* }}} */
+/* {{{ proto string Redis::lPos(string key, mixed value, [array options = null]) */
+PHP_METHOD(Redis, lPos)
+{
+ REDIS_PROCESS_CMD(lpos, redis_lpos_response);
+}
+/* }}} */
+
/* {{{ proto string Redis::rPop(string key, [int count = 0]) */
PHP_METHOD(Redis, rPop)
{