]> granicus.if.org Git - php/commitdiff
typo
authorXinchen Hui <laruence@php.net>
Thu, 16 Aug 2012 15:01:58 +0000 (23:01 +0800)
committerXinchen Hui <laruence@php.net>
Thu, 16 Aug 2012 15:01:58 +0000 (23:01 +0800)
Zend/zend_compile.c

index 378cf17bffabf9b79e431830a6c26fa288598002..d7ca6eab33f6fe281416e4685cc2f31506d3554c 100644 (file)
@@ -2278,7 +2278,7 @@ void zend_resolve_goto_label(zend_op_array *op_array, zend_op *opline, int pass2
        Z_TYPE_P(label) = IS_NULL;
 
        if (op_array->last_try_catch) {
-               zend_uint i, op_num = opline - CG(active_op_array)->opcodes;
+               zend_uint i, op_num = opline - op_array->opcodes;
                for (i=0; i<op_array->last_try_catch; i++) {
                        if (op_array->try_catch_array[i].try_op > op_num) {
                                break;