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:
authorPeter Kokot <peterkokot@gmail.com>2019-06-27 01:38:36 +0300
committerMichael Grunder <michael.grunder@gmail.com>2019-06-27 02:41:55 +0300
commit55c5586c9c54f09bd91f53bbc27b143f36af8b04 (patch)
tree31fe82aa330e024671d9dc11c9deb2edd488f11b /redis.c
parenta537df8321d4a42f5af7d4cd61c72d3b0e5a01cf (diff)
Remove HAVE_SPL
The HAVE_SPL symbol is defined in PHP to indicate the presence of the spl extension. Since PHP 5.3 the spl extension is always availabe and since PHP-7.4 the HAVE_SPL symbol has also been removed.
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/redis.c b/redis.c
index 84139e8d..3cc13f52 100644
--- a/redis.c
+++ b/redis.c
@@ -772,9 +772,7 @@ PHP_MINIT_FUNCTION(redis)
module_number);
/* Base Exception class */
-#if HAVE_SPL
exception_ce = zend_hash_str_find_ptr(CG(class_table), "RuntimeException", sizeof("RuntimeException") - 1);
-#endif
if (exception_ce == NULL) {
exception_ce = zend_exception_get_default(TSRMLS_C);
}