}
/* }}} */
-/* {{{ proto simplemxml_element simplexml_load_file(string filename)
+/* {{{ proto simplemxml_element simplexml_load_file(string filename [, string class_name])
Load a filename and return a simplexml_element object to allow for processing */
PHP_FUNCTION(simplexml_load_file)
{
}
/* }}} */
-/* {{{ proto simplemxml_element simplexml_load_string(string data)
+/* {{{ proto simplemxml_element simplexml_load_string(string data [, string class_name])
Load a string and return a simplexml_element object to allow for processing */
PHP_FUNCTION(simplexml_load_string)
{
int classname_len = 0;
zend_class_entry *ce= sxe_class_entry;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &data_len, &classname, &classname_len) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &data, &data_len, &classname, &classname_len) == FAILURE) {
return;
}
}
-/* {{{ proto simplemxml_element simplexml_import_dom(domNode node)
+/* {{{ 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)
{