]> granicus.if.org Git - php/commitdiff
MFH
authorDmitry Stogov <dmitry@php.net>
Mon, 10 Oct 2005 10:50:35 +0000 (10:50 +0000)
committerDmitry Stogov <dmitry@php.net>
Mon, 10 Oct 2005 10:50:35 +0000 (10:50 +0000)
Zend/zend_compile.c

index a2591fa9a7f3ccdb7189725889167de4e5512a1f..90a8253f3a27f8fe821559d21a6fa0982b9b6e4a 100644 (file)
@@ -566,10 +566,10 @@ static zend_bool opline_is_fetch_this(zend_op *opline TSRMLS_DC)
 
 void zend_do_assign(znode *result, znode *variable, znode *value TSRMLS_DC)
 {
+       int last_op_number = get_next_op_number(CG(active_op_array));
        zend_op *opline = get_next_op(CG(active_op_array) TSRMLS_CC);
 
        if (variable->op_type == IS_VAR) {
-               int last_op_number = get_next_op_number(CG(active_op_array));
                int n = 0;
 
                while (last_op_number - n > 0) {