From aea83558614a739e2fbdb362fd881d5d3014349a Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Thu, 29 Sep 2016 10:14:47 -0700 Subject: [PATCH] Remove IS_CALLABLE check - zvals never have that type. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That type is used by the type checker, and isn't a zval type. https://wiki.php.net/phpng-int > IS_CALLABLE – used only for type hinting > _IS_BOOL – used_only for type hinting --- apc_cache.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apc_cache.c b/apc_cache.c index 59f3cd43..66c80986 100644 --- a/apc_cache.c +++ b/apc_cache.c @@ -1613,11 +1613,6 @@ static APC_HOTSPOT zval* my_copy_zval(zval* dst, const zval* src, apc_context_t* return NULL; break; - case IS_CALLABLE: - /* XXX implement this */ - assert(0); - break; - default: assert(0); }