diff options
author | Xinchen Hui <laruence@php.net> | 2015-03-25 13:05:08 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-03-25 13:05:08 +0800 |
commit | fe0ca2745f00940a27bfc8e87db534541a19af70 (patch) | |
tree | 9f6ecb6d7dd517f46f71bfc12cdeebd17f8fc904 /ext/soap/php_xml.c | |
parent | ef2db26c60537e84b502608ff404263d5f4dc5d2 (diff) | |
parent | 968fbc6acf0bc27be17c0209be7f966e89a55943 (diff) | |
download | php-git-fe0ca2745f00940a27bfc8e87db534541a19af70.tar.gz |
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Diffstat (limited to 'ext/soap/php_xml.c')
-rw-r--r-- | ext/soap/php_xml.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c index f7c8fd51e5..bf30ab40aa 100644 --- a/ext/soap/php_xml.c +++ b/ext/soap/php_xml.c @@ -100,6 +100,9 @@ xmlDocPtr soap_xmlParseFile(const char *filename TSRMLS_DC) 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 TSRMLS_CC); xmlParseDocument(ctxt); php_libxml_disable_entity_loader(old TSRMLS_CC); |