Re: serializing references, almost without modifications

From: Date: Wed, 19 Jul 2000 15:32:40 +0000
Subject: Re: serializing references, almost without modifications
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-25129@lists.php.net to get a copy of this message
I can see __sleep() and __wakeup() working perfectly for filehandles, database connections and other stuff like that. But when you have a large amount of references that you'd like to use throught a users session, it quickly becomes a cumbersome way to deal with references, unless I have completely missed the point.
You´re right. That´s a lot of work then. I´ll wait on zeev the sorcerer :) I´ll only try to use __sleep() etc. on my abstract database object, it´s the most frequently used one and should enable a few apps to survive serializing unfragmented regards -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#25129) next »