note 6267 deleted from unserialize by ronabop
| From: | ronabop@php.net | Date: | Sun, 03 Sep 2000 11:04:15 +0000 |
| Subject: | note 6267 deleted from unserialize by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4068@lists.php.net to get a copy of this message | ||
In php4.0.1pl2, how can I determine the intended type of an unserialized object that no class has
been defined for? Do I have to manually parse the serialized string?<P>In php3 and 4.0.0 I
could access the variables of the object, one of which I set to the type of the object, then I could
include the appropriate class file and create the object at runtime. In php4.0.1pl2 this is not
permitted. It's not an option to include every possible class that the serialized object could
be before unserializing the object.