summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-04-15 11:09:04 +0800
committerXinchen Hui <laruence@gmail.com>2014-04-15 11:09:04 +0800
commit84ce66f17c2d7c5ed89db063c52234727a975d90 (patch)
tree5bc5a618e96af6b6bedc919c4c43a29868b3192e
parenta0690ff2881a3ed741c81cceec58ce716161e552 (diff)
downloadphp-git-84ce66f17c2d7c5ed89db063c52234727a975d90.tar.gz
Fixed Typo
-rw-r--r--ext/simplexml/simplexml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 16e4c8539e..fde83526f6 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -372,7 +372,7 @@ static zval *sxe_prop_dim_read(zval *object, zval *member, zend_bool elements, z
zval_dtor(&tmp_zv);
}
- if (ZVAL_IS_NULL(rv)) {
+ if (ZVAL_IS_UNDEF(rv)) {
return &EG(uninitialized_zval);
}