Re: __autoload()
| From: | Johannes Schlueter | Date: | Wed, 16 Mar 2005 23:07:28 +0000 |
| Subject: | Re: __autoload() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15468@lists.php.net to get a copy of this message | ||
Hi Stig,
Stig S. Bakken wrote:
> [un]register_class_autoload_function() would be even more useful.
See my previous post about Marcus' stuff:
$ sapi/cli/php -r "print_r(get_extension_funcs('spl'));"
Array
(
[...]
[3] => spl_autoload_register
[4] => spl_autoload_unregister
[...]
)
people should use these and forget about current __autoload() ;-)
johannes
--
Johannes Schlüter Mayflower GmbH / ThinkPHP
http://thinkphp.de http://blog.thinkphp.de