From: Marcus Boerger Date: Wed, 17 May 2006 00:07:28 +0000 (+0000) Subject: - MFH Proto fix/add X-Git-Tag: php-5.2.0RC1~535 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09b741ff478637c46aca7f0ac4f40e7b67cc3041;p=php - MFH Proto fix/add --- diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index fffd049e49..85ea8edebe 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1049,7 +1049,7 @@ static int sxe_objects_compare(zval *object1, zval *object2 TSRMLS_DC) /* {{{ */ } /* }}} */ -/* {{{ array SimpleXMLElement::xpath(string path) +/* {{{ proto array SimpleXMLElement::xpath(string path) Runs XPath query on the XML data */ SXE_METHOD(xpath) { @@ -1136,6 +1136,8 @@ SXE_METHOD(xpath) xmlXPathFreeObject(retval); } +/* {{{ proto bool SimpleXMLElement::registerXPathNamespace(string prefix, string ns) + Creates a prefix/ns context for the next XPath query */ SXE_METHOD(registerXPathNamespace) { php_sxe_object *sxe;