php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #32853 Wrong return value for xpath_eval
Submitted: 2005-04-27 12:56 UTC Modified: 2005-04-27 14:22 UTC
From: mfischer@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2005-04-27 12:56 UTC] 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.


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-27 14:22 UTC] vrana@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Aug 15 19:01:28 2024 UTC