Re: [PHP4BETA] Session: objects containing objects

From: Date: Fri, 25 Feb 2000 12:52:18 +0000
Subject: Re: [PHP4BETA] Session: objects containing objects
References: 1 2 3 4 5 6 7 8  Groups: php.version4 
Request: Send a blank email to php-version4+get-10944@lists.php.net to get a copy of this message
thies@digicol.de wrote: > > - PHP4's serializer is at least en par with the PHPLIB > > serializer, obsoleting the Session class in PHPLIB. > > it's been like this since before the user-group meeting in > hamburg. I know, but I have not been following this list and Ulf did not ask. I wrote the above to stop this thread. The only remaining question is: It is officially legal to reset($o); and list($k, $v) = each($o) with $o being an object. If so, there is no pressing need to have a function returning the slots of an object. I'd like to have such a function, though, and be able to use it on a class as well as on an object, with the function returning the defined slots of a class and their defaults (if present) when used on a class and the function returning the actual slots of a class and their actual values, when used on a class instance (an object). But this is more for completeness, I do have no current application for that. Kristian -- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.netuse.de/ (We have moved! Update your bookmarks!)

« previous php.version4 (#10944) next »