Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78284 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36040 invoked from network); 23 Oct 2014 23:36:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2014 23:36:43 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.208 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.208 imap2-3.ox.privateemail.com Received: from [192.64.116.208] ([192.64.116.208:57461] helo=imap2-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/12-24679-80199445 for ; Thu, 23 Oct 2014 19:36:41 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 6BD938C0080 for ; Thu, 23 Oct 2014 19:36:38 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ooInKUfrhdzp for ; Thu, 23 Oct 2014 19:36:38 -0400 (EDT) Received: from oa-res-26-28.wireless.abdn.ac.uk (oa-res-26-28.wireless.abdn.ac.uk [137.50.26.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 0B4728C007D for ; Thu, 23 Oct 2014 19:36:37 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <6E04B9BE-854E-4112-8C74-7D90BD8BFE95@ajf.me> Date: Fri, 24 Oct 2014 00:36:35 +0100 To: PHP Internals Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) X-Mailer: Apple Mail (2.1990.1) Subject: [RFC] Readonly Properties From: ajf@ajf.me (Andrea Faulds) Good evening once again, Here=E2=80=99s another RFC: https://wiki.php.net/rfc/readonly_properties It proposes, with a working implementation, a modifier for properties = that makes them readable and writeable from different scopes. Since I am a big proponent of including specification patches in new = RFCs, I have decided to put my money (or rather, time) where my mouth is = and I have actually written a specification patch before writing an RFC. = I would love to see this become the new standard for RFCs affecting the = language. If you are curious at all about the behaviour, I suggest perusing the = fairly comprehensive set of twelve tests included in the main patch to = php-src. Thanks! -- Andrea Faulds http://ajf.me/