Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56043 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2815 invoked from network); 3 Nov 2011 18:53:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2011 18:53:01 -0000 Authentication-Results: pb1.pair.com header.from=jbondc@openmv.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jbondc@openmv.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain openmv.com from 64.15.152.204 cause and error) X-PHP-List-Original-Sender: jbondc@openmv.com X-Host-Fingerprint: 64.15.152.204 mail.ca.gdesolutions.com Received: from [64.15.152.204] ([64.15.152.204:54752] helo=mail.ca.gdesolutions.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/78-50864-C03E2BE4 for ; Thu, 03 Nov 2011 13:53:01 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.ca.gdesolutions.com (Postfix) with ESMTP id AD4A65DC2; Thu, 3 Nov 2011 14:52:57 -0400 (EDT) X-Virus-Scanned: amavisd-new at gdesolutions.com Received: from mail.ca.gdesolutions.com ([127.0.0.1]) by localhost (mail.ca.gdesolutions.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EqD84yssIjbT; Thu, 3 Nov 2011 14:52:57 -0400 (EDT) Received: from djbondc (modemcable166.116-70-69.static.videotron.ca [69.70.116.166]) by mail.ca.gdesolutions.com (Postfix) with ESMTPSA id C90CA5DC1; Thu, 3 Nov 2011 14:52:56 -0400 (EDT) To: "'Anthony Ferrara'" Cc: "'PHP Internals List'" References: <4E208FE7.4020606@sugarcrm.com> In-Reply-To: Date: Thu, 3 Nov 2011 14:52:55 -0400 Message-ID: <00d401cc9a59$ccf273b0$66d75b10$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcyaPBBamCSbsRZLTkq1nzDmi3gRpQAAzUXw Content-Language: en-ca Subject: RE: [PHP-DEV] SplClassLoader From: jbondc@openmv.com ("Jonathan Bond-Caron") On Thu Nov 3 11:19 AM, Anthony Ferrara wrote: > > But that's besides the point. I just want to emphasize the point that > performance should not be a criteria for justifying it going into the > core... > There also seems to be the perception among some php devs that autoloading is now the preferred way of loading PHP code. So adding require() or other explicit dependencies add the top of your scripts is no longer the appropriate way to do things. SplClassLoader solves an interoperability problem. Shouldn't it be promoted as such? So overall I agree with Anthony, performance shouldn't even be an argument. If you want to solve a "code loading problem", autoloading everything is far from a silver bullet and in my opinion not a good solution. The main question seems to be: does interoperability belong in core?