We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f5693 commit eff7398Copy full SHA for eff7398
library.c
@@ -54,7 +54,7 @@ static zend_class_entry *runtime_exception_ce = NULL;
54
PHP_REDIS_API zend_class_entry *
55
redis_get_exception_base(TSRMLS_D)
56
{
57
- if (runtime_exception_ce = NULL) {
+ if (runtime_exception_ce == NULL) {
58
#if HAVE_SPL
59
runtime_exception_ce = zend_hash_str_find_ptr(CG(class_table), "RuntimeException", sizeof("RuntimeException") - 1);
60
#else
0 commit comments