mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
- Nuke more unused code
This commit is contained in:
parent
de583b2f91
commit
91ee6c0ceb
@ -346,11 +346,7 @@ void fetch_simple_variable_ex(znode *result, znode *varname, int bp, zend_uchar
|
||||
if (varname->op_type == IS_CONST && varname->u.constant.type == IS_STRING) {
|
||||
if (zend_is_auto_global(varname->u.constant.value.str.val, varname->u.constant.value.str.len TSRMLS_CC)) {
|
||||
opline_ptr->op2.u.EA.type = ZEND_FETCH_GLOBAL;
|
||||
} else {
|
||||
/* if (CG(active_op_array)->static_variables && zend_hash_exists(CG(active_op_array)->static_variables, varname->u.constant.value.str.val, varname->u.constant.value.str.len+1)) {
|
||||
opline_ptr->op2.u.EA.type = ZEND_FETCH_STATIC;
|
||||
}
|
||||
*/ }
|
||||
}
|
||||
}
|
||||
|
||||
if (bp) {
|
||||
|
Loading…
Reference in New Issue
Block a user