From: Zeev Suraski Date: Tue, 11 Feb 2003 15:41:46 +0000 (+0000) Subject: Fix require() handling - that's an old bug! X-Git-Tag: RELEASE_0_5~1106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=beaf84ea17fd98b77f461591d67536887b44959e;p=php Fix require() handling - that's an old bug! --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index c25b64bef6..3fd9e8f49b 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -2718,9 +2718,6 @@ void zend_do_include_or_eval(int type, znode *result, znode *op1 TSRMLS_DC) SET_UNUSED(opline->op2); opline->op2.u.constant.value.lval = type; *result = opline->result; - if (type==ZEND_REQUIRE) { - opline->result.u.EA.type |= EXT_TYPE_UNUSED; - } } zend_do_extended_fcall_end(TSRMLS_C); }