diff options
author | michael-grunder <michael.grunder@gmail.com> | 2016-12-19 22:46:19 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2016-12-19 22:46:19 +0300 |
commit | 721c272995273699eabb54e1eee19570fd181c47 (patch) | |
tree | 57f3d8b36b62b8a0e8c8c1593d97315b75d11bb4 /redis_array.c | |
parent | f820462c101309a31171d5b9bb67f2199871e4da (diff) |
Use PHP_FE_END when available for RedisArray and RedisCluster
Diffstat (limited to 'redis_array.c')
-rw-r--r-- | redis_array.c | 5 |
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) { |