diff options
Diffstat (limited to 'ext/libxml/libxml.c')
-rw-r--r-- | ext/libxml/libxml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index c2fe822455..068b3a248d 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -591,12 +591,12 @@ static xmlParserInputPtr _php_libxml_external_entity_loader(const char *URL, if (ID != NULL) { ZVAL_STRING(¶ms[0], ID); } else { - ZVAL_UNDEF(¶ms[0]); + ZVAL_NULL(¶ms[0]); } if (URL != NULL) { ZVAL_STRING(¶ms[1], URL); } else { - ZVAL_UNDEF(¶ms[1]); + ZVAL_NULL(¶ms[1]); } ctxzv = ¶ms[2]; array_init_size(ctxzv, 4); |