#50864 [Opn->Ver]: SimpleXMLElement::count does not exist
| From: | kalle@php.net | Date: | Tue, 16 Feb 2010 07:42:58 +0000 |
| Subject: | #50864 [Opn->Ver]: SimpleXMLElement::count does not exist | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3900@lists.php.net to get a copy of this message | ||
ID: 50864
Updated by: kalle@php.net
Reported By: lyle at ubercart dot org
-Status: Open
+Status: Verified
Bug Type: Documentation problem
Operating System: Windows Vista
PHP Version: 5.2.12
Previous Comments:
------------------------------------------------------------------------
[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