Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79211 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53898 invoked from network); 27 Nov 2014 03:48:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Nov 2014 03:48:11 -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.174 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.213.174 mail-ig0-f174.google.com Received: from [209.85.213.174] ([209.85.213.174:49513] helo=mail-ig0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/C1-40216-AFE96745 for ; Wed, 26 Nov 2014 22:48:10 -0500 Received: by mail-ig0-f174.google.com with SMTP id hn15so7953097igb.1 for ; Wed, 26 Nov 2014 19:48:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=CfRM2Uk84KSxs7SlYoeb+Bc6zd+sTQoqx1vrMcsMOsA=; b=rtNhaS31SXzcUvgf7bwUVIbtVdgAOS7pr3NMfkuW/seUtNeMvN/forglpZeuSNsw8S x/900xm5no4cAjsf8ONE0tmSA+FdnTgODKk3y2SkItwaT0HAwCmB8xNP6WDM9i8X9gXV jsUPPSgOfdagRwHOCYgubnr+AXmDZxgvitttciqjFh4rjmmn1xh1cRv3cO8iXXnGirSy Krq1Ykh1mWLONwXzE0jfcc9q6ilaFyuekL/b5LccR2xizRh2Rh+t+0waJ4BPGj+daUqC PrHt9l8ja3Cla3AGNK0CCpvLPnULbBfdvI1hc/qCtFxyoVinL0rG0Ks5AkQjPoteEUKu r9wA== X-Received: by 10.107.38.202 with SMTP id m193mr9226220iom.19.1417060086882; Wed, 26 Nov 2014 19:48:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.238.75 with HTTP; Wed, 26 Nov 2014 19:47:46 -0800 (PST) Date: Wed, 26 Nov 2014 22:47:46 -0500 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=001a114075101ab52c0508cf0302 Subject: [RFC] Abstract final classes From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --001a114075101ab52c0508cf0302 Content-Type: text/plain; charset=UTF-8 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 --001a114075101ab52c0508cf0302--