Re: [PHP4BETA] Re: SESS: objects containing objects *final statement*(?) please read!

From: Date: Fri, 25 Feb 2000 15:54:37 +0000
Subject: Re: [PHP4BETA] Re: SESS: objects containing objects *final statement*(?) please read!
References: 1 2 3 4 5  Groups: php.version4 
Request: Send a blank email to php-version4+get-10959@lists.php.net to get a copy of this message
thies@digicol.de wrote: > > On Fri, Feb 25, 2000 at 09:27:31AM -0600, Andrei Zmievski wrote: > > > > Would register_object_serialize_method() use some global table where it > > registers class name and these methods? > > c'mon boys we can do nicer that this? > > i really like the sleep()/wakeup() thing - but shouldn't we > make some standard method names part of the language instead > of having to register_blabla_() them. i don't see why > somebody would have to name them different. Okay then, I'm a big fan of calling them sleep() and wakeup(), but chances are someone has a class out there with these method names already. What about serializeSleep() and unserializeWakeup()? > BTW: what about not serializing class variables that start > with a '_' character. the usage should be obvious, right? I have exactly the same problem as Andrei with this. What about variables that start with two '_' characters? :-) - Stig

« previous php.version4 (#10959) next »