From: Rasmus Lerdorf Date: Sat, 5 Nov 2005 22:41:09 +0000 (+0000) Subject: MFB - This isn't a DOM thing anymore, just libxml X-Git-Tag: RELEASE_2_0_1~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65bb007a3e59c329c0ba6f1601e78f5f63106a3d;p=php MFB - This isn't a DOM thing anymore, just libxml --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 67204e2fd1..977e793f4c 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1189,6 +1189,7 @@ static void sxe_add_registered_namespaces(php_sxe_object *sxe, xmlNodePtr node, } } } +/* }}} */ /* {{{ proto string SimpleXMLElement::getDocNamespaces([bool recursive]) Return all namespaces registered with document */ @@ -1865,7 +1866,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) @@ -1918,14 +1918,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} };