Re: Re: cvs: php4 /ext/standard var.c /ext/wddx wddx.c
| From: | Stanislav Malyshev | Date: | Thu, 22 Jun 2000 10:50:33 +0000 |
| Subject: | Re: Re: cvs: php4 /ext/standard var.c /ext/wddx wddx.c | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21952@lists.php.net to get a copy of this message | ||
>> so what is our conclusion? IMHO we should keep the class name
>> around somehow, even if the class code is not availlabe
>> during deserialisation.
If this is what to be done, I propose creating array of hidden objects for
session, and creating a "fake" classes for them, with name like
"\1Foo_class\1" or something alike - not easily reachable by
coincidence. These objects (and classes) even haven't to be registered
with main class table, I think. You can just keep them around in the
session for serializing later.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665