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 441168b commit 5e42fa9Copy full SHA for 5e42fa9
php_memcached.c
@@ -3565,8 +3565,8 @@ zend_class_entry *php_memc_get_exception_base(int root)
3565
zval *pce_z;
3566
3567
if ((pce_z = zend_hash_str_find(CG(class_table),
3568
- "runtimeexception",
3569
- sizeof("RuntimeException") - 1)) != NULL) {
+ "runtimeexception",
+ sizeof("RuntimeException") - 1)) != NULL) {
3570
pce = Z_CE_P(pce_z);
3571
spl_ce_RuntimeException = pce;
3572
return pce;
@@ -3576,11 +3576,7 @@ zend_class_entry *php_memc_get_exception_base(int root)
3576
}
3577
3578
#endif
3579
-#if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION < 2)
3580
return zend_exception_get_default();
3581
-#else
3582
- return zend_exception_get_default();
3583
-#endif
3584
3585
3586
0 commit comments