From 855f7dfd9541f902505326fb4e202f1f2d478273 Mon Sep 17 00:00:00 2001 From: Rob Richards Date: Wed, 12 Oct 2005 03:21:05 +0000 Subject: MFH: Fixed Bug #27908 (xml default_handlers not being called) Fix memleak when entitydecls are parsed remove old ifdefs --- ext/xml/xml.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/xml/xml.c') diff --git a/ext/xml/xml.c b/ext/xml/xml.c index eb607f9537..67521253e4 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 } /* }}} */ -- cgit v1.2.1