Re: [PHP4BETA] Session: objects containing objects

From: Date: Thu, 24 Feb 2000 17:42:19 +0000
Subject: Re: [PHP4BETA] Session: objects containing objects
References: 1 2 3 4 5 6  Groups: php.version4 
Request: Send a blank email to php-version4+get-10884@lists.php.net to get a copy of this message
Andrei Zmievski wrote: > > On Thu, 24 Feb 2000, Ulf Wendel wrote: > > get_member_vars() sounds good, although I prefer slots or fields. > > But fields could be mixed up with database stuff and slots is not > > very common for beginners. get_member_vars() seems to be a good > > choise. > > > > When will I get my new baby? > > Ok, just a little more thinking. Do you really need a function? Can't > you use foreach() or each() to iterate over them? > In theory he can. But he fears that this is an undocumented feature and that it wont work in subsequent releases of php[45]. Boris

« previous php.version4 (#10884) next »