summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2005-10-12 03:20:13 +0000
committerRob Richards <rrichards@php.net>2005-10-12 03:20:13 +0000
commit9c9d49379f197ca88ec58157d0007ab55974e41f (patch)
treeef9228b9b33a76bc7ee2c3ef1304677b9f146f44 /ext/xml/xml.c
parentb233ce0dd8f30ce946f52b188552f34e4c1d3064 (diff)
downloadphp-git-9c9d49379f197ca88ec58157d0007ab55974e41f.tar.gz
Fixed Bug #27908 (xml default_handlers not being called)
Fix memleak when entitydecls are parsed remove old ifdefs
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r--ext/xml/xml.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index fc0627d252..7f17d68a50 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -1108,12 +1108,7 @@ PHP_FUNCTION(xml_parser_create)
Create an XML parser */
PHP_FUNCTION(xml_parser_create_ns)
{
-#if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT) && LIBXML_VERSION < 20600
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "is broken with libxml2 %s. Please upgrade to libxml2 2.6", LIBXML_DOTTED_VERSION);
- RETURN_FALSE;
-#else
php_xml_parser_create_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
-#endif
}
/* }}} */