RE: [PHP4BETA] class serialize/unserialize implementation.
| From: | Samuel Liddicott | Date: | Thu, 16 Sep 1999 16:19:11 +0000 |
| Subject: | RE: [PHP4BETA] class serialize/unserialize implementation. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4528@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Thies C. Arntzen [mailto:thies@digicol.de]
> Sent: Thursday, September 16, 1999 02:36 PM
> To: Zeev Suraski
> Cc: Stig Sæther Bakken; Andi Gutmans; php4beta@lists.php.net
> Subject: Re: [PHP4BETA] class serialize/unserialize implementation.
>
> are u saying that the unserialize function should load&execute external
> files by itself?
>
> i would be happy to do so...
wow! That is too amazing, and would actually reduce the need to define
dozens classes that may never get used
> a few more things:
>
> - a volatile flag would be nice for instance variable that should NOT be
> serialized.
> - have a standard hook in a class (to be called before serializing and
> after deserialisation)
While we are at it why not have overridable serialization methods built in
as methods of the base (a base) object.
[Only half serious]
Sam