From: Rasmus Lerdorf Date: Sat, 5 Nov 2005 22:37:18 +0000 (+0000) Subject: And simplexml doesn't need dom anymore to do the import X-Git-Tag: php-5.1.0RC5~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b03351633aa58c5115e7a03423c55c5d567c5cfe;p=php And simplexml doesn't need dom anymore to do the import --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 26675c8cff..a1d374a44a 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1597,7 +1597,6 @@ void *simplexml_export_node(zval *object TSRMLS_DC) return php_sxe_get_first_node(sxe, node TSRMLS_CC); } -#ifdef HAVE_DOM /* {{{ proto simplemxml_element simplexml_import_dom(domNode node [, string class_name]) Get a simplexml_element object from dom to allow for processing */ PHP_FUNCTION(simplexml_import_dom) @@ -1650,14 +1649,11 @@ PHP_FUNCTION(simplexml_import_dom) } } /* }}} */ -#endif function_entry simplexml_functions[] = { PHP_FE(simplexml_load_file, NULL) PHP_FE(simplexml_load_string, NULL) -#ifdef HAVE_DOM PHP_FE(simplexml_import_dom, NULL) -#endif {NULL, NULL, NULL} };