Re: serializing references, almost without modifications

From: Date: Wed, 19 Jul 2000 15:40:59 +0000
Subject: Re: serializing references, almost without modifications
References: 1 2 3 4 5 6 7  Groups: php.dev 
Request: Send a blank email to php-dev+get-25130@lists.php.net to get a copy of this message
On Wed, Jul 19, 2000 at 04:13:09PM +0200, waldschrott wrote: > > > If they do exactly what I need (reactivating references in a session), > > > why was there a thread about the impossibility to serialize references??? > > > > it's a different thing. __sleep() and __wakeup() allow you to > > partly write your own serialize handler. please read the > > attached sample. > > > and they´re called automatically? yep > no true serializing but right, I could recreate the reference in > __wakeup(), will become a mature method in some classes :( > and need manual code review and it´s not possible with compiled code > (ok. not applicable yet) > > 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 ° · ° . ¤ · -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#25130) next »