]> granicus.if.org Git - php/commitdiff
- Forgot to check for BP_VAR_IS in the fix made for Thies' string offset
authorAndi Gutmans <andi@php.net>
Wed, 1 Dec 1999 14:55:58 +0000 (14:55 +0000)
committerAndi Gutmans <andi@php.net>
Wed, 1 Dec 1999 14:55:58 +0000 (14:55 +0000)
  problem.

Zend/zend_execute.c

index 758050a39c637bcb158aae24bd3bf781a6da1483..786299f69fb5dbb713983ae22d56a0475b3766c1 100644 (file)
@@ -688,7 +688,7 @@ static inline void zend_fetch_dimension_address(znode *result, znode *op1, znode
                                                convert_to_long(&tmp);
                                                offset = &tmp;
                                        }
-                                       if (!container->is_ref && type!=BP_VAR_R) {
+                                       if (!container->is_ref && type!=BP_VAR_R && type!=BP_VAR_IS) {
                                                SEPARATE_ZVAL(container_ptr);
                                        }
                                        container = *container_ptr;