#49085 [NEW]: Typo in code example
From: asukakenji at gmail dot com
Operating system: N/A
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Typo in code example
Description:
------------
There is a typo in the code example.
Reproduce code:
---------------
Visit:
http://www.php.net/manual/en/simplexml.examples-basic.php
Expected result:
----------------
In example #4, line 7, it should be:
foreach ($xml->movies as $movie) {
Actual result:
--------------
This is shown instead (the first movie should be movies):
foreach ($xml->movie as $movie) {
--
Edit bug report at http://bugs.php.net/?id=49085&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49085&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49085&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49085&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49085&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49085&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49085&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49085&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49085&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49085&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49085&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49085&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49085&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49085&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49085&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49085&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49085&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49085&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49085&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49085&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49085&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49085&r=mysqlcfg
Thread (2 messages)
- asukakenji at gmail dot com