Index: Zend/zend_vm_def.h =================================================================== RCS file: /repository/ZendEngine2/zend_vm_def.h,v retrieving revision 1.240 diff -u -p -r1.240 zend_vm_def.h --- Zend/zend_vm_def.h 8 Aug 2008 17:10:49 -0000 1.240 +++ Zend/zend_vm_def.h 10 Aug 2008 21:12:26 -0000 @@ -3554,7 +3554,9 @@ ZEND_VM_HANDLER(75, ZEND_UNSET_DIM, VAR| offset_len = norm_len; free_offset = 1; } - } else if (OP2_TYPE == IS_CV || OP2_TYPE == IS_VAR) { + } + + if (OP2_TYPE == IS_CV || OP2_TYPE == IS_VAR) { Z_ADDREF_P(offset); } Index: Zend/zend_vm_execute.h =================================================================== RCS file: /repository/ZendEngine2/zend_vm_execute.h,v retrieving revision 1.244 diff -u -p -r1.244 zend_vm_execute.h --- Zend/zend_vm_execute.h 8 Aug 2008 17:10:49 -0000 1.244 +++ Zend/zend_vm_execute.h 10 Aug 2008 21:12:27 -0000 @@ -11078,7 +11078,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_CONST == IS_CV || IS_CONST == IS_VAR) { + } + + if (IS_CONST == IS_CV || IS_CONST == IS_VAR) { Z_ADDREF_P(offset); } @@ -12920,7 +12922,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_TMP_VAR == IS_CV || IS_TMP_VAR == IS_VAR) { + } + + if (IS_TMP_VAR == IS_CV || IS_TMP_VAR == IS_VAR) { Z_ADDREF_P(offset); } @@ -14809,7 +14813,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { + } + + if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { Z_ADDREF_P(offset); } @@ -17314,7 +17320,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_CV == IS_CV || IS_CV == IS_VAR) { + } + + if (IS_CV == IS_CV || IS_CV == IS_VAR) { Z_ADDREF_P(offset); } @@ -18594,7 +18602,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_CONST == IS_CV || IS_CONST == IS_VAR) { + } + + if (IS_CONST == IS_CV || IS_CONST == IS_VAR) { Z_ADDREF_P(offset); } @@ -19724,7 +19734,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_TMP_VAR == IS_CV || IS_TMP_VAR == IS_VAR) { + } + + if (IS_TMP_VAR == IS_CV || IS_TMP_VAR == IS_VAR) { Z_ADDREF_P(offset); } @@ -20854,7 +20866,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { + } + + if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { Z_ADDREF_P(offset); } @@ -22252,7 +22266,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_CV == IS_CV || IS_CV == IS_VAR) { + } + + if (IS_CV == IS_CV || IS_CV == IS_VAR) { Z_ADDREF_P(offset); } @@ -25394,7 +25410,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_CONST == IS_CV || IS_CONST == IS_VAR) { + } + + if (IS_CONST == IS_CV || IS_CONST == IS_VAR) { Z_ADDREF_P(offset); } @@ -27114,7 +27132,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_TMP_VAR == IS_CV || IS_TMP_VAR == IS_VAR) { + } + + if (IS_TMP_VAR == IS_CV || IS_TMP_VAR == IS_VAR) { Z_ADDREF_P(offset); } @@ -28880,7 +28900,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { + } + + if (IS_VAR == IS_CV || IS_VAR == IS_VAR) { Z_ADDREF_P(offset); } @@ -31150,7 +31172,9 @@ static int ZEND_FASTCALL ZEND_UNSET_DIM offset_len = norm_len; free_offset = 1; } - } else if (IS_CV == IS_CV || IS_CV == IS_VAR) { + } + + if (IS_CV == IS_CV || IS_CV == IS_VAR) { Z_ADDREF_P(offset); }