From 55c5586c9c54f09bd91f53bbc27b143f36af8b04 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 27 Jun 2019 00:38:36 +0200 Subject: 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. --- redis.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'redis.c') 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); } -- cgit v1.2.3