From: Andi Gutmans Date: Sat, 19 Aug 2000 15:16:53 +0000 (+0000) Subject: - Beautify X-Git-Tag: php-4.0.2RC1~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c698e14635156e8d55187728943f5d48573fe8f4;p=php - Beautify --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index d4ee94ff83..2c197f6232 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1411,8 +1411,8 @@ binary_assign_op_addr: { if (opline->extended_value & ZEND_CTOR_CALL) { /* constructor call */ - if (opline->op1.op_type == IS_VAR && !(opline->op1.u.EA.type & EXT_TYPE_UNUSED)) { - PZVAL_LOCK(*Ts[opline->op1.u.var].var.ptr_ptr); + if (opline->op1.op_type == IS_VAR) { + SELECTIVE_PZVAL_LOCK(*Ts[opline->op1.u.var].var.ptr_ptr, &opline->op1); } if (opline->op2.op_type==IS_VAR) { PZVAL_LOCK(*Ts[opline->op2.u.var].var.ptr_ptr);