Re: PHP 4.0 Bug #5152: Object passed in a session generateserrors when member functions are called
| From: | Stanislav Malyshev | Date: | Thu, 22 Jun 2000 21:16:47 +0000 |
| Subject: | Re: PHP 4.0 Bug #5152: Object passed in a session generateserrors when member functions are called | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21984@lists.php.net to get a copy of this message | ||
SS>> If the class definition is not available on object
SS>> deserialization, we store the original class name in a hash
SS>> table and assign the object a special class. This class would
SS>> always halt the execution of the script, if any of its
SS>> methods would be called (and output an appropiate text). This
Where we are going to shove those methods from? And no, I won't stop
repeating this: these fake objects should be hidden from the user. If user
doesn't have class for them, that's a good sign he doesn't want to see
them. So remove them from PHP namespace and store in the internal session
hash. There they won't bother anybody. And you will have no method problem
- there will be nobody to call the methods.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665