#32853 [Opn->Csd]: Wrong return value for xpath_eval
| From: | vrana@php.net | Date: | Wed, 27 Apr 2005 12:22:25 +0000 |
| Subject: | #32853 [Opn->Csd]: Wrong return value for xpath_eval | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969368024@lists.php.net to get a copy of this message | ||
ID: 32853
Updated by: vrana@php.net
Reported By: mfischer@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2005-04-27 12:56:59] mfischer@php.net
Description:
------------
The current prototype is
array xpath_eval ( XPathContext xpath_context, string xpath_expression
[, domnode contextnode] )
However, the return value is not an array but an XPathObject. It's
property, the 'nodeset', is probably the array mentioned above.
This should also be documented.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32853&edit=1