]> granicus.if.org Git - php/commitdiff
Fix the array() problem (and probably some other problems too)
authorZeev Suraski <zeev@php.net>
Sun, 9 Feb 2003 17:30:50 +0000 (17:30 +0000)
committerZeev Suraski <zeev@php.net>
Sun, 9 Feb 2003 17:30:50 +0000 (17:30 +0000)
Zend/zend_execute.c

index b452b83fbc4acf2e9f2bdb0e29a49031f0973b64..52c5b800372a6e1f4ee4208fdbf0aecefc8a0ad8 100644 (file)
@@ -97,6 +97,10 @@ static inline zval *_get_zval_ptr(znode *node, temp_variable *Ts, zval **should_
                                }
                        }
                        break;
+               case IS_UNUSED:
+                       *should_free = 0;
+                       return NULL;
+                       break;
                EMPTY_SWITCH_DEFAULT_CASE()
        }
        return NULL;