Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79872 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97857 invoked from network); 23 Dec 2014 00:08:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Dec 2014 00:08:46 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.169 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.213.169 mail-ig0-f169.google.com Received: from [209.85.213.169] ([209.85.213.169:50652] helo=mail-ig0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/70-28901-D82B8945 for ; Mon, 22 Dec 2014 19:08:45 -0500 Received: by mail-ig0-f169.google.com with SMTP id hl2so6051619igb.2 for ; Mon, 22 Dec 2014 16:08:42 -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=5xovFaw5mT+xQ98opbodgxpMZhx0FEz8wCseUhkcIfc=; b=qROT0ShMBH4pekajmjSJAlopmROmegrkfvTMRyX6n8bvR5PEJmXO6P+3bjXtLzR8QJ Xr2UMYSPaD1MWQocq94ZCua08k35XMtdOovtd0Vp+aC3Zf91CwA6VeBLEHJXyR4kA52f q9ON6xBNXeyf9wi82Eqf58BhHaujRjcGNhrZkpgCnYMjDqjmsV5Xa3keKqlKQQd1xLUj TeuJZZJSa9QljHXQ4Ft81K/Q376FFeJxuw1AJhr3yGghCeMdXCKKwIf2sZ7kKb0mZWbK Bj6btKn0Y6dcpL18/DuY61kQ1Ajg9kxHwYLUIm4lWbg/GUB3IXGAdaDXyFSBFe8DWxA6 gykQ== X-Received: by 10.107.19.167 with SMTP id 39mr23067630iot.56.1419293322696; Mon, 22 Dec 2014 16:08:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.238.75 with HTTP; Mon, 22 Dec 2014 16:08:22 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Dec 2014 22:08:22 -0200 Message-ID: To: Tjerk Meesters Cc: Florian Margaine , PHP Internals Content-Type: multipart/alternative; boundary=001a113f9cc454de31050ad6fa47 Subject: Re: [PHP-DEV] [VOTE] Abstract final / Static classes From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --001a113f9cc454de31050ad6fa47 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi everyone, Voting is now closed. Since this RFC required a 2/3 majority, the result is against the implementation of this feature in PHP. RFC is now updated and moved to withdrawn section. Thanks, On Fri, Dec 19, 2014 at 10:43 PM, Tjerk Meesters wrote: > > > On 13 Dec 2014, at 00:35, guilhermeblanco@gmail.com wrote: > > > > RFC is updated exposing both possible usages with both explanations. > > Hope it doesn't confuse even more. > > Hi, in your "As static class=E2=80=9D example, it doesn=E2=80=99t really = demonstrate that > you can omit the =E2=80=9Cstatic=E2=80=9D modifier from the function decl= arations. > > Also, it=E2=80=99s not clear if the same applies to =E2=80=9CAs abstract = final=E2=80=9D. > > > > > 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 < > florian@margaine.com> > >> 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 whi= ch > >> one > >>>>> it could be implemented. > >>>>> Patches are now complete and voting phase starts now and will be > active > >>>>> 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 > it > >> 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 > >> > > > > > > -- > > Guilherme Blanco > > MSN: guilhermeblanco@hotmail.com > > GTalk: guilhermeblanco > > Toronto - ON/Canada > > --=20 Guilherme Blanco MSN: guilhermeblanco@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada --001a113f9cc454de31050ad6fa47--