diff options
| author | Rob Richards <rrichards@php.net> | 2005-10-12 03:20:13 +0000 |
|---|---|---|
| committer | Rob Richards <rrichards@php.net> | 2005-10-12 03:20:13 +0000 |
| commit | 9c9d49379f197ca88ec58157d0007ab55974e41f (patch) | |
| tree | ef9228b9b33a76bc7ee2c3ef1304677b9f146f44 /ext/xml/xml.c | |
| parent | b233ce0dd8f30ce946f52b188552f34e4c1d3064 (diff) | |
| download | php-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.c | 5 |
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 } /* }}} */ |
