Re: Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]
| From: | Andi Gutmans | Date: | Wed, 26 Jun 2002 15:13:00 +0000 |
| Subject: | Re: Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH] | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85598@lists.php.net to get a copy of this message | ||
Ivan,
I just commited a patch for autoloading to the CVS. It is improved over your patch in the way I discussed (it propogates throughout Zend). I hope it works out to work well.
CVS commit message:
- Autoloading support based on patch from Ivan Ristic.
- Again I hope this feature ends up working well because if it doesn't we
- might need to nuke it. This only works for global scoped classes and it
- will never work for sub-classes so don't even ask!!!!!
- Just define an __autoload() function in the global scope and it will be
- called with the class name as the parameter if it doesn't manage to find
- the class.
Andi
At 11:27 PM 6/11/2002 +0100, Ivan Ristic wrote:
Okay, I guess I can live with it :) Andi Is there anyone else who would like to comment on the patch? http://www.webkreator.com/download/class_autoload.patch Or can we have it committed? -- Ivan Ristic, ivanr@webkreator.com [ Weblog on PHP, Software development, Intranets, and Knowledge Management: http://www.webkreator.com ] -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php