diff options
| author | Xinchen Hui <laruence@gmail.com> | 2014-04-15 11:10:39 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@gmail.com> | 2014-04-15 11:10:39 +0800 |
| commit | 541842d87a5741dba0eb829ba0346399bbe197fc (patch) | |
| tree | 686699a78763ee08e37114cec13f891eadac9994 | |
| parent | 84ce66f17c2d7c5ed89db063c52234727a975d90 (diff) | |
| download | php-git-541842d87a5741dba0eb829ba0346399bbe197fc.tar.gz | |
Fixed return uninitialized_zval
| -rw-r--r-- | ext/simplexml/simplexml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index fde83526f6..c98df426c1 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -373,7 +373,7 @@ static zval *sxe_prop_dim_read(zval *object, zval *member, zend_bool elements, z } if (ZVAL_IS_UNDEF(rv)) { - return &EG(uninitialized_zval); + ZVAL_COPY_VALUE(rv, &EG(uninitialized_zval)); } return rv; |
