#50864 [NEW]: SimpleXMLElement::count does not exist

From: Date: Wed, 27 Jan 2010 19:47:16 +0000
Subject: #50864 [NEW]: SimpleXMLElement::count does not exist
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3791@lists.php.net to get a copy of this message
From: lyle at ubercart dot org Operating system: Windows Vista PHP version: 5.2.12 PHP Bug Type: Documentation problem Bug description: SimpleXMLElement::count does not exist 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 bug report at http://bugs.php.net/?id=50864&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50864&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50864&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50864&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50864&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50864&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50864&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50864&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50864&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50864&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50864&r=support Expected behavior: http://bugs.php.net/fix.php?id=50864&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50864&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50864&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50864&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50864&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50864&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50864&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50864&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50864&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50864&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50864&r=mysqlcfg

« previous php.doc.bugs (#3791) next »