summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2005-11-05 22:37:18 +0000
committerRasmus Lerdorf <rasmus@php.net>2005-11-05 22:37:18 +0000
commitb03351633aa58c5115e7a03423c55c5d567c5cfe (patch)
tree44caf71878f22a94947cbd3484fbe0b35664ca70
parent04a291d39a586d531f7c09872e7f3ced7c98b9e0 (diff)
downloadphp-git-b03351633aa58c5115e7a03423c55c5d567c5cfe.tar.gz
And simplexml doesn't need dom anymore to do the import
-rw-r--r--ext/simplexml/simplexml.c4
1 files changed, 0 insertions, 4 deletions
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}
};