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:52:43 +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-21998@lists.php.net to get a copy of this message | ||
AZ>> > addresses the two most important points. We need some support
AZ>> > for the catch-all function in Zend though. Zeev, Andi?
AZ>>
AZ>> Just have a class that overloads the function calls, it's pretty easy.
That's all nice and dandy, but what for? Just hide that object from teh
user, and you never worry for the methods - they aren't. Sacha says it
would require some modification to serializer - but certainly much less
that inventing catch-all functions and hacking together special handler
classes. And certainly this would be much cleaner and faster than any pf
these solution (which would inevitably drive users into misunderstanding
of how thsi object really works and what he can do and what he
can't). Just do not show that object - it is of no use anyway, since you
want to bailout on every touch to it!
--
Stanislav Malyshev stas@zend.com
+972-3-6139665