Re: PHP 4.0 Bug #5152: Object passed in a session generateserrors when member functions are called
| From: | Rasmus Lerdorf | Date: | Thu, 22 Jun 2000 22:11:01 +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-22007@lists.php.net to get a copy of this message | ||
> If you want to implement on-demand class loading, you are welcome to. That
> actually might be interesting feature. But certainly it shouldn't shove it
> into deserializer, though deserializer could use it. On-demand loading
> could indeed be useful, though I imagine there could be some problems with
> it (if there are more than one class in the file). But certainly this has
> absolutely nothing common with shoving class code into object definition.
And I repeat. My main point here was to maintain a connection between the
class definition and the object data. That would make it possible to
autoload them or provide user controlled loading without needing to keep
track of which file might define which class.
-Rasmus