From: Zeev Suraski Date: Sun, 9 Feb 2003 17:30:50 +0000 (+0000) Subject: Fix the array() problem (and probably some other problems too) X-Git-Tag: RELEASE_0_5~1185 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55a66b1cb2de71df408d2ea561bd2c2640bb1ed9;p=php Fix the array() problem (and probably some other problems too) --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index b452b83fbc..52c5b80037 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -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;