From: Moriyoshi Koizumi Date: Tue, 11 Jan 2005 17:17:48 +0000 (+0000) Subject: - Fix bug #31478 (segfault with empty()) X-Git-Tag: RELEASE_0_2~340 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=357b0c34b6969f2cbb54a94d5207d328746384a2;p=php - Fix bug #31478 (segfault with empty()) --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index faa6c35745..cad9f26fcd 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3321,6 +3321,7 @@ void zend_do_isset_or_isempty(int type, znode *result, znode *variable TSRMLS_DC } } last_op->result.op_type = IS_TMP_VAR; + last_op->result.u.var = get_temporary_variable(CG(active_op_array)); last_op->extended_value = type; *result = last_op->result;