]> granicus.if.org Git - php/commitdiff
- Need to seperate if the hash isn't a reference
authorAndi Gutmans <andi@php.net>
Sun, 9 Jul 2000 17:12:37 +0000 (17:12 +0000)
committerAndi Gutmans <andi@php.net>
Sun, 9 Jul 2000 17:12:37 +0000 (17:12 +0000)
Zend/zend_execute.c

index 5e6d2329c2c5b7afdad48c788c8d7ac64693a268..0bc15d35bdbdeab162ba0ac9b2609a7746615125 100644 (file)
@@ -2140,6 +2140,8 @@ send_by_ref:
                                        if (container) {
                                                HashTable *ht;
 
+                                               SEPARATE_ZVAL_IF_NOT_REF(container);
+
                                                switch ((*container)->type) {
                                                        case IS_ARRAY:
                                                                ht = (*container)->value.ht;