Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15462 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76930 invoked by uid 1010); 16 Mar 2005 08:58:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76915 invoked by uid 1007); 16 Mar 2005 08:58:36 -0000 Message-ID: <20050316085836.76914.qmail@lists.php.net> To: internals@lists.php.net Date: Wed, 16 Mar 2005 09:58:41 +0100 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 82.140.18.100 Subject: __autoload() From: lsmith@php.net (Lukas Smith) 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