Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92127 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7374 invoked from network); 7 Apr 2016 14:09:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2016 14:09:13 -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 209.85.217.177 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.217.177 mail-lb0-f177.google.com Received: from [209.85.217.177] ([209.85.217.177:34672] helo=mail-lb0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/8C-48788-60A66075 for ; Thu, 07 Apr 2016 10:09:12 -0400 Received: by mail-lb0-f177.google.com with SMTP id vo2so50717797lbb.1 for ; Thu, 07 Apr 2016 07:09:10 -0700 (PDT) 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; bh=sYiElSQW8FaT7zTefGBBfyUEsSbCwNPppJfEDT+kXGE=; b=cyBiH6OjEd5Phv4i88WWfg3jqm3dsqxlJgO8dRPXMHXa3ITRcMnnf+eQuXtvIKG6cL IFWOGtMzz/t7WPUsOi7QpDTZoIZWFN70eUve3G1Z1yiUSDR4XP8i3BevbZNUzo4zRSS7 bAm4c5ZXSgUxdb6a6U2U+P9outnzIudfMyf2XaN5NH3R8HFld+b4jPlNF1b2+U/mNELh RWfz4bi4jrcVOhPSFLPNbEPQ7if6jWKkbawW3s5BmJhbzuTMSpi8hTVEizO1o6jgwEY4 WU2z+5DCOHg3mSq74UV95DWrAKYEJCwYgFBtXAJPpkPGfOfoN1ydVeexEN+gusvFTXe7 qq4g== 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; bh=sYiElSQW8FaT7zTefGBBfyUEsSbCwNPppJfEDT+kXGE=; b=Fl0xzR/kt+bKISbTk0J5HZiiMstmg/KuO8V1l7ARumZsEMMz12MdtelfNdDUrf1KJS UxTM8B0KHBAc3oGjoSXfS7jFYq2SVKu2xoQgmv4P/s8NNO/YykX8gR6dPZPrbm6c+dRx k2vIAZKWdIJeMz03X8j+W9AQNh6h1z+CyOQjnwIdXIXH6gxuFf49OpWULeyzSNPVtQIh YtSpTeeCMVunLzETezeQJssI+aYlEX63EOi40GUzBnEtdssTFyEBC445dXOgSzPHylq8 8O1zetwdanpHpDigEqpCIyZDa+WYSZngnFViMiK5GJwGSMzUUJdglOPDora67SwIVwOD mJKg== X-Gm-Message-State: AD7BkJJT39v90SYR/y0euUYX6X40htIT3qQVnqKN07wDU8+RK6Er1kgGOjli5KU0Q2RbYH99RD8wEC0law9+LA== X-Received: by 10.112.9.164 with SMTP id a4mr4274516lbb.82.1459874371784; Tue, 05 Apr 2016 09:39:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.126.67 with HTTP; Tue, 5 Apr 2016 09:39:12 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Apr 2016 18:39:12 +0200 Message-ID: To: Chris Riley Cc: =?UTF-8?Q?Micha=C5=82_Brzuchalski?= , PHP Internals List Content-Type: multipart/alternative; boundary=001a1134dbe658d6a9052fbf7d4f Subject: Re: [PHP-DEV] Final properties From: ocramius@gmail.com (Marco Pivetta) --001a1134dbe658d6a9052fbf7d4f Content-Type: text/plain; charset=UTF-8 On 5 April 2016 at 18:28, Chris Riley wrote: > > I started a discussion on this a while back, but it fizzled due to not > having an elegant solution for the 'give me a new one of these with these > values changed' problem. I would HIGHLY suggest not using the final > keyword. If final is used as a keyword I would expect it to mean that this > property definition cannot be changed in a child class. See: > https://marc.info/?l=php-internals&m=144766539202647&w=2 Would be happy > to pick this up again and help get the RFC created. > Same concern here: just because Java decided that `final` means `assign-once`, it doesn't mean php should adopt it too. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --001a1134dbe658d6a9052fbf7d4f--