Re: PHP 4.0 Bug #5152: Object passed in a session generateserrors when member functions are called

From: Date: Thu, 22 Jun 2000 22:14:33 +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-22010@lists.php.net to get a copy of this message
On Thu, 22 Jun 2000, Rasmus Lerdorf wrote: > > 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. I welcome this discussion, because a lot of points have been raised and a number of ideas have been introduced. On-demand loading of classes, namespaces, just to name a few. They are all useful under special circumstances. But we need a simple solution first which helps developers to debug their scripts under all circumstances. I think we have such a solution, so I want to reach a consensus ASAP. - Sascha

« previous php.dev (#22010) next »