diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2020-01-08 05:05:50 +0300 |
---|---|---|
committer | Tyson Andre <tysonandre775@hotmail.com> | 2020-01-14 02:41:03 +0300 |
commit | 0ef488fca7858fc99c0d0cbe70e85281fe33c61f (patch) | |
tree | 1e88b918c851eaeb43200d0b859292738df9241c | |
parent | 7a79ad9c27b1152a199fa411870767625bbf53a5 (diff) |
Remove "PHP Version 5" section
package.xml has a minimum version of 7.0
PHP 8.0 will probably be out in around a year.
-rw-r--r-- | php_redis.h | 6 | ||||
-rw-r--r-- | redis.c | 2 | ||||
-rw-r--r-- | redis_array.c | 2 | ||||
-rw-r--r-- | redis_array_impl.c | 4 | ||||
-rw-r--r-- | redis_cluster.c | 2 | ||||
-rw-r--r-- | redis_commands.c | 2 | ||||
-rw-r--r-- | redis_session.c | 4 |
7 files changed, 4 insertions, 18 deletions
diff --git a/php_redis.h b/php_redis.h index 977c5378..c86ac2b4 100644 --- a/php_redis.h +++ b/php_redis.h @@ -1,7 +1,5 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ | Copyright (c) 1997-2009 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | @@ -263,7 +261,7 @@ PHP_MSHUTDOWN_FUNCTION(redis); PHP_MINFO_FUNCTION(redis); /* Redis response handler function callback prototype */ -typedef void (*ResultCallback)(INTERNAL_FUNCTION_PARAMETERS, +typedef void (*ResultCallback)(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx); PHP_REDIS_API int redis_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent); @@ -271,7 +269,7 @@ PHP_REDIS_API int redis_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent); PHP_REDIS_API int redis_response_enqueued(RedisSock *redis_sock); PHP_REDIS_API int redis_sock_read_multibulk_multi_reply_loop( - INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, + INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, int numElems); extern zend_module_entry redis_module_entry; @@ -1,8 +1,6 @@ /* -*- Mode: C; tab-width: 4 -*- */ /* +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ | Copyright (c) 1997-2009 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | diff --git a/redis_array.c b/redis_array.c index 3645c02f..ca448616 100644 --- a/redis_array.c +++ b/redis_array.c @@ -1,7 +1,5 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ | Copyright (c) 1997-2009 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | diff --git a/redis_array_impl.c b/redis_array_impl.c index f5cce83d..f76bac2a 100644 --- a/redis_array_impl.c +++ b/redis_array_impl.c @@ -1,7 +1,5 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ | Copyright (c) 1997-2009 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | @@ -1196,7 +1194,7 @@ zval_rehash_callback(zend_fcall_info *z_cb, zend_fcall_info_cache *z_cb_cache, z_cb->params = z_args; z_cb->retval = z_ret; - + z_cb->no_separation = 0; z_cb->param_count = 2; diff --git a/redis_cluster.c b/redis_cluster.c index 8702ed25..1029b9df 100644 --- a/redis_cluster.c +++ b/redis_cluster.c @@ -1,7 +1,5 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ | Copyright (c) 1997-2009 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | diff --git a/redis_commands.c b/redis_commands.c index 144f27ce..97fa0e13 100644 --- a/redis_commands.c +++ b/redis_commands.c @@ -1,8 +1,6 @@ /* -*- Mode: C; tab-width: 4 -*- */ /* +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ | Copyright (c) 1997-2009 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | diff --git a/redis_session.c b/redis_session.c index 84b88b86..ead70bee 100644 --- a/redis_session.c +++ b/redis_session.c @@ -1,8 +1,6 @@ /* -*- Mode: C; tab-width: 4 -*- */ /* +----------------------------------------------------------------------+ - | PHP Version 5 | - +----------------------------------------------------------------------+ | Copyright (c) 1997-2009 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | @@ -587,7 +585,7 @@ PS_CREATE_SID_FUNC(redis) if (pool->lock_status.session_key) zend_string_release(pool->lock_status.session_key); pool->lock_status.session_key = redis_session_key(redis_sock, ZSTR_VAL(sid), ZSTR_LEN(sid)); - + if (lock_acquire(redis_sock, &pool->lock_status) == SUCCESS) { return sid; } |