#50864 [Ver->Csd]: SimpleXMLElement::count does not exist
| From: | degeberg@php.net | Date: | Wed, 24 Feb 2010 11:23:53 +0000 |
| Subject: | #50864 [Ver->Csd]: SimpleXMLElement::count does not exist | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3966@lists.php.net to get a copy of this message | ||
ID: 50864
Updated by: degeberg@php.net
Reported By: lyle at ubercart dot org
-Status: Verified
+Status: Closed
Bug Type: Documentation problem
Operating System: Windows Vista
PHP Version: 5.2.12
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:
------------------------------------------------------------------------
[2010-02-24 11:23:37] svn@php.net
Automatic comment from SVN on behalf of degeberg
Revision: http://svn.php.net/viewvc/?view=revision&revision=295461
Log: Fixed PHP bug #50864 (SimpleXMLElement::count does not exist)
------------------------------------------------------------------------
[2010-01-27 19:47:16] lyle at ubercart dot org
Description:
------------
The page for SimpleXMLElement::children refers to
SimpleXMLElement::count to check that a node has children. However,
there is no documentation page for this method, nor does it exist in my
installation of PHP anyway.
...And I just realized that I'm expected to use the main count()
function. In that case, there should be a note in the documentation
about that.
Reproduce code:
---------------
---
From manual pages: simplexmlelement.children#Notes
and simplexmlelement.children#See Also
---
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50864&edit=1