Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79603 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71373 invoked from network); 12 Dec 2014 16:19:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2014 16:19:20 -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.172 cause and error) X-PHP-List-Original-Sender: florian@margaine.com X-Host-Fingerprint: 209.85.213.172 mail-ig0-f172.google.com Received: from [209.85.213.172] ([209.85.213.172:45181] helo=mail-ig0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/A1-62606-7851B845 for ; Fri, 12 Dec 2014 11:19:19 -0500 Received: by mail-ig0-f172.google.com with SMTP id hl2so1706704igb.5 for ; Fri, 12 Dec 2014 08:19:16 -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:from:date :message-id:subject:to:cc:content-type; bh=pkJQDLVj6d8ZJm57s9BlAZ/kF1Y3vrpw+i0BcHtQNQg=; b=XTnHmx2RKr9lauzoq+Sevy8QjZuPTJsFIEPMhfsT3NBnsCLab7qivPdLns3mbNtd5e KcCf3bauhFpPfPBIVs2biDJAYPP+8Hk1K5XqthsWBr4i1Td9WFGveLwvlcxunlfs6QcL mpRZMe7nNujhD4nWWoumyu8W2SjFIgw/XFs5QP9o4/wzFAZs0cFE7tcFowQWIRr5H7wy PI9kTdCVgY72czo3UDPVtYKP3wtLZiETxVMrFGb7HCc2tDwTv0i9YXLb/GlMMLCUTrba qzkqiUVEilO0qxDfSYmpNLWHTDw2y7T6W8LLxl1urBuatbins1ZTISzlaWLV7MVc8pbm OM9w== X-Gm-Message-State: ALoCoQmrb+rYDhG0ekV33Zpao0KUzSj4V0u3DQhal4Wx04OU075E1CTyPzq+gRPDDbLRdBg8g02X X-Received: by 10.50.148.101 with SMTP id tr5mr5423200igb.12.1418401156732; Fri, 12 Dec 2014 08:19:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.14.142 with HTTP; Fri, 12 Dec 2014 08:18:56 -0800 (PST) X-Originating-IP: [82.122.211.32] In-Reply-To: References: Date: Fri, 12 Dec 2014 17:18:56 +0100 Message-ID: To: "guilhermeblanco@gmail.com" Cc: PHP internals Content-Type: multipart/alternative; boundary=001a1134c7bc18e4fc050a0741e1 Subject: Re: [PHP-DEV] [VOTE] Abstract final / Static classes From: florian@margaine.com (Florian Margaine) --001a1134c7bc18e4fc050a0741e1 Content-Type: text/plain; charset=UTF-8 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 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 = '/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 --001a1134c7bc18e4fc050a0741e1--