summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2005-10-12 03:21:05 +0000
committerRob Richards <rrichards@php.net>2005-10-12 03:21:05 +0000
commit855f7dfd9541f902505326fb4e202f1f2d478273 (patch)
tree52a699cd811ee8f39b535452b96b3cdc9d422fc5 /ext/xml/xml.c
parent28a0aef13ea4323859a9b7588371e1b5454c4a51 (diff)
downloadphp-git-855f7dfd9541f902505326fb4e202f1f2d478273.tar.gz
MFH: 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 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
}
/* }}} */