diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2018-08-22 12:53:57 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-08-22 12:54:39 +0200 |
commit | 138671f2f4b8219d9318c2ee0098fb641f0f8e27 (patch) | |
tree | 5f7ac133ba89d0c52b42e3aafa23e4e9e62aa604 /ext/libxml/libxml.c | |
parent | 446b5b15d324dacd30f58313563a9d625fb54ac8 (diff) | |
parent | 7ad05957120ad2c8ee9471aabeceb5d7fa559e5f (diff) | |
download | php-git-138671f2f4b8219d9318c2ee0098fb641f0f8e27.tar.gz |
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed bug #76777 and added test
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 0309500f11..3c1c8c3c84 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -589,12 +589,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); |