Re: RE: [PHP-GENERAL] Re: [PHP-DEV] Sessions and Objects
| From: | Andrei Zmievski | Date: | Mon, 19 Jun 2000 13:06:01 +0000 |
| Subject: | Re: RE: [PHP-GENERAL] Re: [PHP-DEV] Sessions and Objects | ||
| References: | 1 2 | Groups: | php.dev php.general |
| Request: | Send a blank email to php-dev+get-21725@lists.php.net to get a copy of this message | ||
On Sat, 17 Jun 2000, Christopher Thompson wrote:
> I would be best if the session saved the class type with the instance
> data. There was probably an implementation reason for it to be set to
> 'stdClass'.
It does save class name with into the serialized data. But if the class
definition is not present when deserializing, we set the class to
stdClass by default.
> I hope the PHP team is aware that the object support in sessions is not
> quite there and can keep improving the already excellent session library.
Let me ask you then, what exactly do you want to see improved?
-Andrei
Any sufficiently advanced bug is
indistinguishable from a feature.
-- Rich Kulawiec