Re: [PHP4BETA] Session object serialisation
| From: | Boris Erdmann | Date: | Thu, 29 Jul 1999 07:00:05 +0000 |
| Subject: | Re: [PHP4BETA] Session object serialisation | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2941@lists.php.net to get a copy of this message | ||
Stewart Morgan wrote:
>
> Hello all,
> Forgive me if this topic has already been broached, I'm new to this
> list and couldn't find a php4 archive -- does one exist?
>
> Whilst reading though session.c, the todo list at the top of the file
> mentions "add complete support for objects (partially implemented)", what I
> need to know is how partially is partially? I'm interested in storing a object
> with an array of objects if that's possible.
>
For now you can serialize objects, but php crashes when you try to
deserialize them. Anyway: the classname is not stored in the serialized
representation, thus you wont get your object<->method dependencies back.
Use PHPLIB for now.
Boris