diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2005-11-05 22:37:18 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2005-11-05 22:37:18 +0000 |
commit | b03351633aa58c5115e7a03423c55c5d567c5cfe (patch) | |
tree | 44caf71878f22a94947cbd3484fbe0b35664ca70 | |
parent | 04a291d39a586d531f7c09872e7f3ced7c98b9e0 (diff) | |
download | php-git-b03351633aa58c5115e7a03423c55c5d567c5cfe.tar.gz |
And simplexml doesn't need dom anymore to do the import
-rw-r--r-- | ext/simplexml/simplexml.c | 4 |
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} }; |