On Wed, 16 Mar 2005, Lukas Smith wrote:

> Hi,
> 
> would it be possible to allow people to override the fixed name of 
> __autoload() to a user defined function (static method?). I think this 
> would be much more flexible and would probably also make it easier to 
> exploit __autoload() inside class libraries. Especially as users are 
> likely to use code from different class libraries.
> 
> Seems like a nice little addition for PHP 5.1 ...

[un]register_class_autoload_function() would be even more useful.

 - Stig

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to