[PHP-BUG] Doc #51553 [NEW]: bug in simplexmlelement count example
[email protected] ("sarahnorthway at gmail dot com") Wed, 14 Apr 2010 00:38:01 +0200 (CEST)
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
From:
Operating system:
PHP version: Irrelevant
Package: SimpleXML related
Bug Type: Documentation Problem
Bug description:bug in simplexmlelement count example
Description:
------------
In the examples for simplexmlelement->count at
http://www.php.net/manual/en/simplexmlelement.count.php, the line:
foreach ($elem as $person) {
should be:
foreach ($elem->children() as $person) {
--
Edit bug report at http://bugs.php.net/bug.php?id=51553&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51553&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51553&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51553&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51553&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51553&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51553&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51553&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51553&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51553&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51553&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51553&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51553&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51553&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51553&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51553&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51553&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51553&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51553&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51553&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51553&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51553&r=mysqlcfg