Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79212 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55539 invoked from network); 27 Nov 2014 03:58:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Nov 2014 03:58:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.47 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 74.125.82.47 mail-wg0-f47.google.com Received: from [74.125.82.47] ([74.125.82.47:50644] helo=mail-wg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/12-40216-A71A6745 for ; Wed, 26 Nov 2014 22:58:51 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so5345442wgh.6 for ; Wed, 26 Nov 2014 19:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VM5OqmQ4Mz1WQtk2vjKprPtakjGWqLotBiVSWbMx4e4=; b=VpbQTm2CeEne4BSVfzBjKVMVW+PLnrm4rheo5BgPHfspSBFro/3e4q+Po1plMtH18D IlvjcMJ8FI44QtZVvy5kK4U6UesGbFeRsmPrVwb/BpSTHL8mLtfFCeSFF/phOLCT5KBR vAq93DqvdGsAGZq/Xbtf+XafV4fMC7ZsfZ4QIVUyOEkB2ZDbV8DYcWhQysEIK0PA9Tvj 25MlkZQkK1DWVZcNQ1LU7felt2J66h6K2amLpnFMYDEWRbAkD5QgDgw7MGWucJgy/R6C vPIM6USC4G9ljAjstcsgduv1/80JX2e1ycW79TYVs81diCv4gyLYA2eECdyNQKEz6Wvu 7NQA== MIME-Version: 1.0 X-Received: by 10.180.198.209 with SMTP id je17mr32674134wic.17.1417060727615; Wed, 26 Nov 2014 19:58:47 -0800 (PST) Received: by 10.194.30.163 with HTTP; Wed, 26 Nov 2014 19:58:47 -0800 (PST) Received: by 10.194.30.163 with HTTP; Wed, 26 Nov 2014 19:58:47 -0800 (PST) In-Reply-To: References: Date: Thu, 27 Nov 2014 04:58:47 +0100 Message-ID: To: Guilherme Blanco Cc: PHP Internals List Content-Type: multipart/alternative; boundary=047d7b6046b44b79920508cf29c0 Subject: Re: [PHP-DEV] [RFC] Abstract final classes From: ocramius@gmail.com (Marco Pivetta) --047d7b6046b44b79920508cf29c0 Content-Type: text/plain; charset=UTF-8 Except for the H1 on the RFC (needs to be updated), I can really see a lot of cases where I needed this: badly. On Nov 27, 2014 4:48 AM, "guilhermeblanco@gmail.com" < guilhermeblanco@gmail.com> wrote: > Hi, > > I worked on an implementation of a somehow controversial concept that > exists in hack and C#: abstract final classes. > > https://wiki.php.net/rfc/abstract_final_class > > My motivation is to further expand class support to add modifiers (PPP - > public, protected, private). I added this change to initially segregate > grammar rules. It was an easy feature without extensive complexity and > covers some use-cases. > > As a reference, here is the commit hash that added this feature to Hack: > > https://github.com/facebook/hhvm/commit/faedfaf46b0deb859b0c20fb36a574be7a4f2f55 > > Cheers, > > -- > Guilherme Blanco > MSN: guilhermeblanco@hotmail.com > GTalk: guilhermeblanco > Toronto - ON/Canada > --047d7b6046b44b79920508cf29c0--