summaryrefslogtreecommitdiff
path: root/ext/xml
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-11 09:39:09 +0000
committerZeev Suraski <zeev@php.net>2001-07-11 09:39:09 +0000
commitd70ce7be270549d737ef7efcca961c2908e9402d (patch)
tree463feaf54c0a7373f45746fc78703d4346e9ea0e /ext/xml
parented542331b749826baa17d5bd23265b465b6a9494 (diff)
downloadphp-git-d70ce7be270549d737ef7efcca961c2908e9402d.tar.gz
var_reset -> ZVAL_RESET
Diffstat (limited to 'ext/xml')
-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 1534a4fb5b..4ba97656fa 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) {
- var_reset(ret);
+ ZVAL_RESET(ret);
return ret;
}
if (len == 0) {