Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79607 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77549 invoked from network); 12 Dec 2014 16:36:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2014 16:36:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.172 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.213.172 mail-ig0-f172.google.com Received: from [209.85.213.172] ([209.85.213.172:52356] helo=mail-ig0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/F2-62606-5891B845 for ; Fri, 12 Dec 2014 11:36:22 -0500 Received: by mail-ig0-f172.google.com with SMTP id hl2so1711258igb.17 for ; Fri, 12 Dec 2014 08:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=VW6mFQVLU1udrw35EJpIHzKDPrADhMuNN8Y76aBt3+k=; b=CK2F+xeHfTN4jqnDpCVyfq80HNRRHGQfF4sf/rMSguVf++FFoipgBAOSnFQaEXl0Hi ojKAUDJv1tzmvbP3a70xUGWiX+/scLwfJMi8f6Tq1zPJ4A/KQz3oeIUliKPtOLLMJl8M +H82j5c1XaoQVPwoDl6pr/REimkxc+V3kQaA/Jj+Nn381NTvhIF1VDBh7RVi3M29hZWo qbMhVTkhlVhTShpEao7NWYrdigiCr6fpivVj9W1yB/PZV8ENiwZDtFUmhOC6aLPxBJf6 sccYZ2MIk7vKVDQaF/cAhpj3HhzFYUY9H3kYR2u5/EFvYZYlW76F/efk/Z2wYYHm2526 FA8A== X-Received: by 10.50.27.6 with SMTP id p6mr5618500igg.4.1418402178354; Fri, 12 Dec 2014 08:36:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.238.75 with HTTP; Fri, 12 Dec 2014 08:35:58 -0800 (PST) In-Reply-To: References: Date: Fri, 12 Dec 2014 11:35:58 -0500 Message-ID: To: Florian Margaine Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7b10ce47fd5530050a077d38 Subject: Re: [PHP-DEV] [VOTE] Abstract final / Static classes From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --047d7b10ce47fd5530050a077d38 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable RFC is updated exposing both possible usages with both explanations. Hope it doesn't confuse even more. On Fri, Dec 12, 2014 at 11:30 AM, Florian Margaine wrote: > > Hi, > > Le 12 d=C3=A9c. 2014 17:28, "guilhermeblanco@gmail.com" < > guilhermeblanco@gmail.com> a =C3=A9crit : > > > > It's part of the history of that RFC, accessible here: > https://wiki.php.net/rfc/abstract_final_class?rev=3D1417060830 > > > > But then it isn't clear as of right now. What is proposed? The example? > The votes? What does `final` has to do with `static`? > > I'm confused. > > > On Fri, Dec 12, 2014 at 11:18 AM, Florian Margaine > wrote: > >> > >> Hi, > >> > >> > >> > >> On Fri, Dec 12, 2014 at 5:12 PM, guilhermeblanco@gmail.com < > guilhermeblanco@gmail.com> wrote: > >>> > >>> Hi internals, > >>> > >>> After a good round of discussion, I updated the original "abstract > final > >>> class" proposal into a "static class" proposal. > >>> However, I kept both patches online so it's up to voters decide which > one > >>> it could be implemented. > >>> Patches are now complete and voting phase starts now and will be acti= ve > >>> until 12/19/2014. > >>> > >>> As this is a language update, it requires 2/3 pro or against the > feature. > >>> > >>> https://wiki.php.net/rfc/abstract_final_class > >> > >> > >> Why does the example use `final`? > >> > >> final static class Environment > >> { > >> private static $rootDirectory =3D '/var/www/project'; > >> public static function getRootDirectory() > >> { > >> return self::$rootDirectory; > >> } > >> } > >> > >> Also, the vote presents 2 options. The RFC is in a weird state where i= t > mentions "abstract final" but doesn't explain anything about them. The > votes don't seem to be what the example is... > >> > >> Could you edit your RFC? > >> > >>> > >>> > >>> > >>> Happy voting! > >>> > >>> Regards, > >>> > >>> -- > >>> Guilherme Blanco > >>> MSN: guilhermeblanco@hotmail.com > >>> GTalk: guilhermeblanco > >>> Toronto - ON/Canada > >> > >> > >> Cheers, > >> -- > >> Florian Margaine > > > > > > > > -- > > Guilherme Blanco > > MSN: guilhermeblanco@hotmail.com > > GTalk: guilhermeblanco > > Toronto - ON/Canada > > Cheers, > Florian > --=20 Guilherme Blanco MSN: guilhermeblanco@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada --047d7b10ce47fd5530050a077d38--