Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54515 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87249 invoked from network); 12 Aug 2011 09:02:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2011 09:02:30 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.218.42 mail-yi0-f42.google.com Received: from [209.85.218.42] ([209.85.218.42:61061] helo=mail-yi0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/17-40016-32CE44E4 for ; Fri, 12 Aug 2011 05:02:28 -0400 Received: by yie19 with SMTP id 19so2101612yie.29 for ; Fri, 12 Aug 2011 02:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=RpgnatgZ+GJODECUJsMU5tp3GFR6gM6p29psMa25omg=; b=jSKMGwYOI6r1OY693rzi6tHOfyy51iEgW5d4wDOLpvhV3yCda2lc2hkfNsv/jI2Qx3 ZG2ncXjpib/L5sYFH8qw+kz8xFPWrncZHdRQGbbLPBjVgcaqIUEOrcGuUlD+8xNyMeHl IWcySnFrWfoJhjeep/Rx9zlfyhq0qpDARVKlk= MIME-Version: 1.0 Received: by 10.236.190.198 with SMTP id e46mr2058655yhn.202.1313139744047; Fri, 12 Aug 2011 02:02:24 -0700 (PDT) Received: by 10.146.168.9 with HTTP; Fri, 12 Aug 2011 02:02:23 -0700 (PDT) In-Reply-To: <4E3D3275.9020903@rotorised.com> References: <4E3D3275.9020903@rotorised.com> Date: Fri, 12 Aug 2011 11:02:23 +0200 Message-ID: To: Ryan McCue Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Function autoloading through spl_autoload* From: tyra3l@gmail.com (Ferenc Kovacs) On Sat, Aug 6, 2011 at 2:24 PM, Ryan McCue wrote: > Ferenc Kovacs wrote: >> I would like to introduce this RFC which would provide function >> autoloading through the spl_autoload facility without userland BC >> breakage. > > Shouldn't the default type be T_CLASS|T_INTERFACE? > sorry for the late reply. judging from your reply and the conversion on irc with Etienne, I think that the usage of the token constants are ambiguous(we have different token constants for classes and interfaces as you mentioned for example). originally I chose this because this would be fully backward compatible, but now I think that we should add new constants. what do you think? --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu