diff options
author | Andi Gutmans <andi@php.net> | 2004-03-09 15:27:39 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2004-03-09 15:27:39 +0000 |
commit | 0fc9d5861d09d294aba69c67b074ff81d20a03d8 (patch) | |
tree | cfd3c11a893293a2b09ae3da169c761fb42191c3 /Zend/zend_execute.c | |
parent | e33168207ebb3805a9b7b483440f9645a95439a6 (diff) | |
download | php-git-0fc9d5861d09d294aba69c67b074ff81d20a03d8.tar.gz |
- Nuke unused code.
Diffstat (limited to 'Zend/zend_execute.c')
-rw-r--r-- | Zend/zend_execute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 6d5980abc6..badcdf5bc8 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -3248,6 +3248,7 @@ int zend_fetch_constant_handler(ZEND_OPCODE_HANDLER_ARGS) zval **value; if (opline->op1.op_type == IS_UNUSED) { +/* This seems to be a reminant of namespaces if (EG(scope)) { ce = EG(scope); if (zend_hash_find(&ce->constants_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.str.len+1, (void **) &value) == SUCCESS) { @@ -3257,7 +3258,7 @@ int zend_fetch_constant_handler(ZEND_OPCODE_HANDLER_ARGS) NEXT_OPCODE(); } } - +*/ if (!zend_get_constant(opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.str.len, &EX_T(opline->result.u.var).tmp_var TSRMLS_CC)) { zend_error(E_NOTICE, "Use of undefined constant %s - assumed '%s'", opline->op2.u.constant.value.str.val, |