Browse Source

And simplexml doesn't need dom anymore to do the import

PHP-5.1
Rasmus Lerdorf 21 years ago
parent
commit
b03351633a
  1. 4
      ext/simplexml/simplexml.c

4
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}
};

Loading…
Cancel
Save