#31697 [Opn]: foreach doc doesn't mention object-iteration

From: Date: Tue, 25 Jan 2005 22:51:07 +0000
Subject: #31697 [Opn]: foreach doc doesn't mention object-iteration
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366174@lists.php.net to get a copy of this message
ID: 31697 Updated by: tularis@php.net Reported By: tularis@php.net Status: Open Bug Type: Documentation problem Operating System: n/a PHP Version: Irrelevant -Assigned To: +Assigned To: tularis New Comment: assigning to myself (so I don't forget) Previous Comments: ------------------------------------------------------------------------ [2005-01-25 23:50:42] tularis@php.net 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 this bug report at http://bugs.php.net/?id=31697&edit=1

« previous php.doc (#969366174) next »