From: Zeev Suraski Date: Fri, 10 Sep 1999 16:16:24 +0000 (+0000) Subject: Shut up a warning X-Git-Tag: PRE_DELAYED_ARRAY_FETCH_PATCH~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca1b3ffbc828914e866c614c6ddc8c98bb0363c2;p=php Shut up a warning --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index afd77b220a..a70120312c 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1056,6 +1056,9 @@ void do_early_binding(CLS_D) case ZEND_DECLARE_CLASS: table = CG(class_table); break; + default: + zend_error(E_COMPILE_ERROR, "Invalid binding type"); + return; } zend_hash_del(table, opline->op1.u.constant.value.str.val, opline->op1.u.constant.value.str.len); zval_dtor(&opline->op1.u.constant);