From f200730fe96f8666fc665cda340f4d26090ba9fb Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Tue, 4 Feb 2014 11:55:08 -0800 Subject: _serialize method This commit adds a utility method as a counterpart to the _unserialize utility method, allowing users to manually serialize data themselves before sending it to Redis. This could be useful for calls going through EVAL, as phpredis can't automatically serialize/unserialize in that case. Addresses #431 --- php_redis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'php_redis.h') diff --git a/php_redis.h b/php_redis.h index a50c7c18..176ba2b6 100644 --- a/php_redis.h +++ b/php_redis.h @@ -142,6 +142,7 @@ PHP_METHOD(Redis, time); PHP_METHOD(Redis, getLastError); PHP_METHOD(Redis, clearLastError); PHP_METHOD(Redis, _prefix); +PHP_METHOD(Redis, _serialize); PHP_METHOD(Redis, _unserialize); PHP_METHOD(Redis, mset); -- cgit v1.2.3