Object property collection?

From: Date: Mon, 01 May 2000 09:10:47 +0000
Subject: Object property collection?
Groups: php.version4 
Request: Send a blank email to php-version4+get-14260@lists.php.net to get a copy of this message
Hey all, I know this might not be the right list, but then again it might be.... In php4 is there any way to access an object's properties via a collection or array? So you could do something like this: class blah { var $one; var $two; var $three; ... for ($i=0; $this->properties->length > $i; $i++) { } } Is that possible? Thanks!

« previous php.version4 (#14260) next »