diff options
Diffstat (limited to 'Zend/zend_execute.c')
-rw-r--r-- | Zend/zend_execute.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index f883453288..eb2dc8873c 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1485,6 +1485,10 @@ send_by_ref: //if (zend_hash_index_find(EG(active_symbol_table), opline->op1.u.constant.value.lval, (void **) ¶m)==FAILURE) { if (zend_ptr_stack_get_arg(opline->op1.u.constant.value.lval, (void **) ¶m)==FAILURE) { + if (opline->op2.op_type == IS_UNUSED) { + DEC_AI_COUNT(); + break; + } if (opline->op2.u.constant.type == IS_CONSTANT) { zval *default_value = (zval *) emalloc(sizeof(zval)); zval tmp; |