summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-11 11:39:10 +0000
committerZeev Suraski <zeev@php.net>2001-07-11 11:39:10 +0000
commit66d94bc655984d94416d4627e98825f23bc7c494 (patch)
treea12f47ba38e0d29eaf6f8bb9e9b8a20393162332 /ext/xml/xml.c
parent4cc86259ddb76c02b871b9c4866561649d9c88e3 (diff)
downloadphp-git-66d94bc655984d94416d4627e98825f23bc7c494.tar.gz
Nuke zval_reset
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r--ext/xml/xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 4ba97656fa..a722d5b6af 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -271,7 +271,7 @@ static zval *_xml_xmlchar_zval(const XML_Char *s, int len, const XML_Char *encod
MAKE_STD_ZVAL(ret);
if (s == NULL) {
- ZVAL_RESET(ret);
+ ZVAL_BOOL(ret, 0);
return ret;
}
if (len == 0) {