RE: [PHP4BETA] class serialize/unserialize implementation.
| From: | Thies C. Arntzen | Date: | Wed, 15 Sep 1999 16:39:14 +0000 |
| Subject: | RE: [PHP4BETA] class serialize/unserialize implementation. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4491@lists.php.net to get a copy of this message | ||
samuel,
please checkout the lastest cvs and do some tests (maybe compare them to
php3?) - it'll be more than obvious then!
regards,
tc
On Wed, 15 Sep 1999, Samuel Liddicott wrote:
>
>
> > -----Original Message-----
> > From: Andrey Zmievski [mailto:zmievski@ispi.net]
> > Sent: Wednesday, September 15, 1999 05:00 PM
> > To: Samuel Liddicott; Thies C. Arntzen
> > Cc: php4beta@lists.php.net
> > Subject: Re: [PHP4BETA] class serialize/unserialize implementation.
> >
> > Classname by itself is not a description of the object. What
> > Thies was saying
> > is that you have to have your class defined somewhere before you call
> > unserialize so that the function can internally create an instance of the
> > class based on the name it got from the serialized string.
>
> Right! I understood anyway that the class would have to have already been
> declared, which was probably confusing me. I thought Thies was saying the
> classname had to be passed to unserialize.
>
> Thanks
>
> sam
>
>
> --
> PHP 4 Beta
>
>
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