Re: RFC __autodefine / spl_autodefine
| From: | Ross Masters | Date: | Tue, 07 Dec 2010 00:59:08 +0000 |
| Subject: | Re: RFC __autodefine / spl_autodefine | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50883@lists.php.net to get a copy of this message | ||
Hi Sebastien,
> __autoload() should die (as in get deprecated ASAP and later removed)
I couldn't find anything about your opinions on this so I was wondering if
you could elaborate. Do you consider autoloading as a bad practice or just
that spl_autoload_register should be used to add relevant
functions/closures?
Regards, Ross
On 6 December 2010 20:01, Sebastian Bergmann <sebastian@php.net> wrote:
> On 12/06/2010 08:38 PM, Loon, Reinier van wrote:
>
>> Note: Whenever __autodefine is used, also spl_autodefine is meant.
>>
>
> __autoload() should die (as in get deprecated ASAP and later removed),
> please do not add new __auto*() functions. Note that this does not mean
> that I agree or disagree with the functionality itself.
>
> --
> Sebastian Bergmann Co-Founder and Principal Consultant
> http://sebastian-bergmann.de/
> http://thePHP.cc/
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
Ross Masters <ross@php.net>
http://rossmasters.com/