#31697 [NEW]: foreach doc doesn't mention object-iteration
| From: | tularis@php.net | Date: | Tue, 25 Jan 2005 22:50:42 +0000 |
| Subject: | #31697 [NEW]: foreach doc doesn't mention object-iteration | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969366173@lists.php.net to get a copy of this message | ||
From: tularis@php.net
Operating system: n/a
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: foreach doc doesn't mention object-iteration
Description:
------------
The foreach documentation page doesn't mention the fact that foreach can
also be used to iterate trough an object's properties.
Reproduce code:
---------------
-
Expected result:
----------------
foreach contains a notice about objects
Actual result:
--------------
none
--
Edit bug report at http://bugs.php.net/?id=31697&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31697&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31697&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31697&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31697&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31697&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31697&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31697&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31697&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31697&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31697&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31697&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31697&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31697&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31697&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31697&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31697&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31697&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31697&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31697&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31697&r=mysqlcfg