RE: [PHP4BETA] class serialize/unserialize implementation.
| From: | Samuel Liddicott | Date: | Wed, 15 Sep 1999 16:34:09 +0000 |
| Subject: | RE: [PHP4BETA] class serialize/unserialize implementation. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4490@lists.php.net to get a copy of this message | ||
> -----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