Re: [PHP] php5 iterate an object
Henrik Gemal wrote: I have an object that looks like this: Test Object the class Test must implement 'Iterator' e.g. class Test implements Iterator { /* * Iterator methods */ public function rewind(){} public function current(){} public function valid(){} publi
[PHP] php5 iterate an object
I have an object that looks like this: Test Object ( [config] => TestConfig Object ( [file:protected] => test.conf [kill:protected] => 1 ) [location:private] => "test" } I'm trying to write