summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-02-11 15:41:46 +0000
committerZeev Suraski <zeev@php.net>2003-02-11 15:41:46 +0000
commitbeaf84ea17fd98b77f461591d67536887b44959e (patch)
tree770faa56ea3d5980e72e1517c6fb9887c954fdce
parentf983e13e4e1dfa6e32848412d8b3dd89c291dfe6 (diff)
downloadphp-git-beaf84ea17fd98b77f461591d67536887b44959e.tar.gz
Fix require() handling - that's an old bug!
-rw-r--r--Zend/zend_compile.c3
1 files changed, 0 insertions, 3 deletions
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);
}