Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64492 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92779 invoked from network); 3 Jan 2013 05:52:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jan 2013 05:52:45 -0000 Authentication-Results: pb1.pair.com header.from=steve@mrclay.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=steve@mrclay.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mrclay.org from 50.22.11.19 cause and error) X-PHP-List-Original-Sender: steve@mrclay.org X-Host-Fingerprint: 50.22.11.19 bedford.accountservergroup.com Linux 2.6 Received: from [50.22.11.19] ([50.22.11.19:33094] helo=bedford.accountservergroup.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/73-35624-CAC15E05 for ; Thu, 03 Jan 2013 00:52:44 -0500 Received: from ip68-101-74-66.ga.at.cox.net ([68.101.74.66]:61636 helo=[192.168.11.24]) by bedford.accountservergroup.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TqdjM-0007Lj-7T; Wed, 02 Jan 2013 23:52:40 -0600 References: <50E41BB6.4030901@zerocue.com> <50E4A43E.6030302@zerocue.com> <50E4B232.5000505@mrclay.org> <50E4BDDE.8050509@zerocue.com> <50E4D0BB.7060701@mrclay.org> <50E4FA09.7030001@zerocue.com> Mime-Version: 1.0 (1.0) In-Reply-To: <50E4FA09.7030001@zerocue.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <3D3FCC7A-0732-40AA-A5D2-07F0D3A42315@mrclay.org> Cc: PHP Internals X-Mailer: iPhone Mail (10A523) Date: Thu, 3 Jan 2013 00:52:40 -0500 To: Clint Priest X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bedford.accountservergroup.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mrclay.org Subject: Re: [PHP-DEV] [PHP-RFC] Property Accessors 1.2 for Final Review before Vote From: steve@mrclay.org (Steve Clay) On Jan 2, 2013, at 10:24 PM, Clint Priest wrote: > I've updated the Shadowing section of the RFC which I hope clears this up,= it also includes a slightly modified version of your example at the bottom w= ith comments. Updated RFC really helps. The notion of $this->prop access semantics dependi= ng on which accessor you're in seems important for the RFC as I think it wil= l seem foreign to a lot of devs. When I make traditional PHP "accessor" methods, I have complete control; if I= want getFoo() to set private $foo without calling setFoo(), I can. Not so w= ith real accessors. Probably a good thing :) One more concern, sorry if it was covered already: will case-insensitivity o= f methods mean you can't define getters for both $foo and $Foo? Steve