Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83003 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36937 invoked from network); 17 Feb 2015 19:25:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2015 19:25:27 -0000 Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.179 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.220.179 mail-vc0-f179.google.com Received: from [209.85.220.179] ([209.85.220.179:58448] helo=mail-vc0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A8/20-34644-5A593E45 for ; Tue, 17 Feb 2015 14:25:26 -0500 Received: by mail-vc0-f179.google.com with SMTP id hy4so13300283vcb.10 for ; Tue, 17 Feb 2015 11:25:22 -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:content-transfer-encoding; bh=6uWdoR5gGLDcG6q25zn3bfZu7bQMBNBXfm4evi6mbno=; b=WH9Q66jbQ3FCjyIppx6G6Ye9uBHKbWZjvUZCLNEYNfcaYEeqMzKm6ZMEUi4u84JPdP MQ5EX98UIABFLt8teSIEDYZFOEiQcO4+p197XjnBVEw1vf6viY0va5ywqZUZ01WbCFF1 Y96c5byRjWiqFdRstuFku0Pkk1dMsXOHgXlWVlvlw8Fhohlr3Bpuv9IQZS5QHK59tt9C B9YB2aMVHmTBf5MTpwC2lsCKvjb1fg+0UZ644PAan9k42k0WeMAFo5xQHs4a1Hnxlkul oz4ouZYK56xTSdU2BtTqPfpU1lClwxsH49akM+yIMK16wnUZB+WKkBpVIsuycURcVH6G DofA== MIME-Version: 1.0 X-Received: by 10.220.83.7 with SMTP id d7mr20161883vcl.24.1424201122562; Tue, 17 Feb 2015 11:25:22 -0800 (PST) Received: by 10.52.179.168 with HTTP; Tue, 17 Feb 2015 11:25:22 -0800 (PST) In-Reply-To: <3FCFEC72-64AD-42E3-8512-E3DACDE6FBD7@gmail.com> References: <3FCFEC72-64AD-42E3-8512-E3DACDE6FBD7@gmail.com> Date: Tue, 17 Feb 2015 19:25:22 +0000 Message-ID: To: Tim Bezhashvyly Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] RFC Proposal From: leight@gmail.com (Leigh) On 17 February 2015 at 17:35, Tim Bezhashvyly w= rote: > Dear PHP internals, > > this is my first RFC proposal and I am not sure if in this email is suppo= sed to contain all RFC details or just a brief idea .. which is to drop PHP= constants in favour of =E2=80=9Cfinal" immutable variables. I think we need some more details. Assuming since you mention "final" that your intent is to allow T_FINAL for class property definitions? Class constants have the ability to be referenced without instantiating the class as an object. What are the benefits of immutable properties over class constants? You certainly wont be able to _drop_ class constants as they are so widely used.