Re: __autoload()

From: Date: Wed, 16 Mar 2005 17:06:37 +0000
Subject: Re: __autoload()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-15466@lists.php.net to get a copy of this message
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

« previous php.internals (#15466) next »