summaryrefslogtreecommitdiff
path: root/ext/soap/php_xml.c
diff options
context:
space:
mode:
authorFelipe Pena <felipensp@gmail.com>2015-02-16 12:21:20 -0200
committerFelipe Pena <felipensp@gmail.com>2015-02-16 12:21:20 -0200
commita80ad10d9b3e759c869a1d075fa89cb19ec740b5 (patch)
treeee3c3917ef8fe689b1b4ce6a0d188def813baa80 /ext/soap/php_xml.c
parent9973df7b4f7fd08e25bb655c48ea15dbe812cdb3 (diff)
parent02de601ff8330a9ee2fa047d9098521908f6e583 (diff)
downloadphp-git-a80ad10d9b3e759c869a1d075fa89cb19ec740b5.tar.gz
- Fix merge
Diffstat (limited to 'ext/soap/php_xml.c')
-rw-r--r--ext/soap/php_xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c
index b32acdf41d..35d2e4e8b0 100644
--- a/ext/soap/php_xml.c
+++ b/ext/soap/php_xml.c
@@ -100,6 +100,9 @@ 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);