Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50883 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86063 invoked from network); 7 Dec 2010 00:59:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Dec 2010 00:59:13 -0000 Authentication-Results: pb1.pair.com header.from=ross.masters.rm@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=ross.masters.rm@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ross.masters.rm@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:36743] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/F3-59654-FD68DFC4 for ; Mon, 06 Dec 2010 19:59:13 -0500 Received: by wwb31 with SMTP id 31so12109943wwb.11 for ; Mon, 06 Dec 2010 16:59:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=tQZgHUGsjaqQG20K2IuK53JO7ZJ70jTTCZ3wsdE7JYU=; b=V4Ne0u/z2UAIPfBbo2rPbfxW/KF2r9MyfQXmvwnNvYgJG6mPyw2Mk7gh28ka4ADXZh 3Yxin2tLrnmJKnMAeIvfk6bx9NNLn0zUWkocf6Dp5ZzKougDgDuTc5E+SWU3JT8h3z6/ McYLSW+OGlZHQPbIRXF1gGNK5619JaoEUpqew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=KDjDGpy+Kdwt2q86JXqfRTreu6at/ukfovKwMSIbrzEGybMXyRCqLIzXdD9n3+hVxO 2kbRhWLFi7GaAi2Cx4IQEmhrAk6mRMouEM7Hcgq7JHKOn8MQKTD1n6eT6PLEEcKUikqW OWd6BLfvg/FBpZbyYpeH+Ac/Mc02Lk1jqLkb0= MIME-Version: 1.0 Received: by 10.216.231.227 with SMTP id l77mr724959weq.104.1291683548249; Mon, 06 Dec 2010 16:59:08 -0800 (PST) Sender: ross.masters.rm@gmail.com Received: by 10.216.180.147 with HTTP; Mon, 6 Dec 2010 16:59:08 -0800 (PST) In-Reply-To: <4CFD4131.8070300@php.net> References: <4CFD4131.8070300@php.net> Date: Tue, 7 Dec 2010 00:59:08 +0000 X-Google-Sender-Auth: 6hyruXS-4JBGj3bNZQTWAFp73SM Message-ID: To: Sebastian Bergmann Cc: internals Content-Type: multipart/alternative; boundary=000e0cdf13580e3ed90496c7836b Subject: Re: [PHP-DEV] RFC __autodefine / spl_autodefine From: ross@php.net (Ross Masters) --000e0cdf13580e3ed90496c7836b Content-Type: text/plain; charset=ISO-8859-1 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 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 http://rossmasters.com/ --000e0cdf13580e3ed90496c7836b--