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:
authormichael-grunder <michael.grunder@gmail.com>2016-12-19 22:46:19 +0300
committermichael-grunder <michael.grunder@gmail.com>2016-12-19 22:46:19 +0300
commit721c272995273699eabb54e1eee19570fd181c47 (patch)
tree57f3d8b36b62b8a0e8c8c1593d97315b75d11bb4 /redis_array.c
parentf820462c101309a31171d5b9bb67f2199871e4da (diff)
Use PHP_FE_END when available for RedisArray and RedisCluster
Diffstat (limited to 'redis_array.c')
-rw-r--r--redis_array.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/redis_array.c b/redis_array.c
index fad18284..88589c88 100644
--- a/redis_array.c
+++ b/redis_array.c
@@ -89,7 +89,12 @@ zend_function_entry redis_array_functions[] = {
/* Aliases */
PHP_MALIAS(RedisArray, delete, del, NULL, ZEND_ACC_PUBLIC)
PHP_MALIAS(RedisArray, getMultiple, mget, NULL, ZEND_ACC_PUBLIC)
+/* PHP_FE_END exists since 5.3.7 */
+#ifdef PHP_FE_END
+ PHP_FE_END
+#else
{NULL, NULL, NULL}
+#endif
};
static void redis_array_free(RedisArray *ra) {