diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-16 11:48:48 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-23 15:51:09 +0200 |
commit | 74235ca5f3fae3325175cf0e68cd7e28c86e1378 (patch) | |
tree | a444edd6baa9b2cd89313a5ac59970c23ab4f322 /ext/soap/php_xml.c | |
parent | c5f108c66ce54ae5ab54d8818d79492d3be2841d (diff) | |
download | php-git-74235ca5f3fae3325175cf0e68cd7e28c86e1378.tar.gz |
Bump minimum libxml version to 2.7.6
Released Oct 2009, part of RHEL 6.
Diffstat (limited to 'ext/soap/php_xml.c')
-rw-r--r-- | ext/soap/php_xml.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c index 2bb6f2f50b..0035a70f94 100644 --- a/ext/soap/php_xml.c +++ b/ext/soap/php_xml.c @@ -99,9 +99,7 @@ xmlDocPtr soap_xmlParseFile(const char *filename) ctxt->sax->warning = NULL; ctxt->sax->error = NULL; /*ctxt->sax->fatalError = NULL;*/ -#if LIBXML_VERSION >= 20703 ctxt->options |= XML_PARSE_HUGE; -#endif old = php_libxml_disable_entity_loader(1); xmlParseDocument(ctxt); php_libxml_disable_entity_loader(old); @@ -148,9 +146,7 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size) ctxt->sax->warning = NULL; ctxt->sax->error = NULL; /*ctxt->sax->fatalError = NULL;*/ -#if LIBXML_VERSION >= 20703 ctxt->options |= XML_PARSE_HUGE; -#endif old = php_libxml_disable_entity_loader(1); xmlParseDocument(ctxt); php_libxml_disable_entity_loader(old); |