Re: [PHP4BETA] serialize() and objects
| From: | Sascha Schumann | Date: | Thu, 10 Jun 1999 16:32:14 +0000 |
| Subject: | Re: [PHP4BETA] serialize() and objects | ||
| References: | 1 2 3 4 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1462@lists.php.net to get a copy of this message | ||
On Thu, Jun 10, 1999 at 11:26:40AM -0500, Andrey Zmievski wrote:
> Sascha Schumann wrote:
> > I've hacked var.c a little bit, serialize is working for objects,
> > unserialize still needs a bit of hacking.
>
> A very simple script:
>
> class foo {
> var $test = "";
> }
>
> $bar = new foo;
>
> print serialize($bar);
>
> does a core dump for me.
I didn't commit it yet, because unserialize is not working (I
don't know how to reinitialize a whole class).
--
Regards,
Sascha Schumann
Consultant