From 357b0c34b6969f2cbb54a94d5207d328746384a2 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Tue, 11 Jan 2005 17:17:48 +0000 Subject: [PATCH] - Fix bug #31478 (segfault with empty()) --- Zend/zend_compile.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.50.1