diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-06-27 01:38:36 +0300 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2019-06-27 02:41:55 +0300 |
commit | 55c5586c9c54f09bd91f53bbc27b143f36af8b04 (patch) | |
tree | 31fe82aa330e024671d9dc11c9deb2edd488f11b /redis.c | |
parent | a537df8321d4a42f5af7d4cd61c72d3b0e5a01cf (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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); } |