__autoload()
| From: | Lukas Smith | Date: | Wed, 16 Mar 2005 08:58:41 +0000 |
| Subject: | __autoload() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-15462@lists.php.net to get a copy of this message | ||
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 ...
regards,
Lukas