Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79605 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74547 invoked from network); 12 Dec 2014 16:30:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2014 16:30:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=florian@margaine.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=florian@margaine.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain margaine.com from 209.85.213.170 cause and error) X-PHP-List-Original-Sender: florian@margaine.com X-Host-Fingerprint: 209.85.213.170 mail-ig0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:35239] helo=mail-ig0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/52-62606-A281B845 for ; Fri, 12 Dec 2014 11:30:35 -0500 Received: by mail-ig0-f170.google.com with SMTP id r2so2778254igi.5 for ; Fri, 12 Dec 2014 08:30:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=LScb/BbpLyZ0OYm4K608qXDCI38cIqGbMjmWJlTprGg=; b=JYlQr9xe/uvHlHP0G6uBN9BIHW4pSUIu2Nvaiwr58Ma87qZKjLUjiN1y2G4F3JII2w KsWd+sVBuZYYxssEWMRH9Db/261fj8NcMiqSu7GQOALfC4W8sQZe+gLroDH/8c9v2VV4 Ruu8XFpRJcsQmyKIWEtekdWSCWFBr1npK4sgnns4YfF1ansNidfcgsl2852D+7R1lhp1 5C4SBR4sv0KkcaIYCKN3bXVXiw7zyh6hX2s4aXTZTwEv0Jo7jonOY0VsN5BKp70Z8XSZ LbYAPTOdqWjj6HfbG9HnSzuTv3F4UuAg0xVnHQlfyg4MnZ4IWggvQ2z9UKylGPFP7SlV C6sQ== X-Gm-Message-State: ALoCoQkq9F+RlvbDvZpZ1i1D0Y1Hm4CsMWVNQdAkte+8iMVXzdYS+5zts4uWg4eWQRrC8bJ9uvX9 MIME-Version: 1.0 X-Received: by 10.107.3.162 with SMTP id e34mr1626920ioi.55.1418401831840; Fri, 12 Dec 2014 08:30:31 -0800 (PST) Received: by 10.107.14.142 with HTTP; Fri, 12 Dec 2014 08:30:31 -0800 (PST) X-Originating-IP: [82.122.211.32] Received: by 10.107.14.142 with HTTP; Fri, 12 Dec 2014 08:30:31 -0800 (PST) In-Reply-To: References: Date: Fri, 12 Dec 2014 17:30:31 +0100 Message-ID: To: guilhermeblanco@gmail.com Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a113ecb0a562a71050a0769c0 Subject: Re: [PHP-DEV] [VOTE] Abstract final / Static classes From: florian@margaine.com (Florian Margaine) --001a113ecb0a562a71050a0769c0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 fina= l >>> 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 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 --001a113ecb0a562a71050a0769c0--