Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64483 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12395 invoked from network); 2 Jan 2013 18:34:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jan 2013 18:34:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:57278] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/EC-12868-5CD74E05 for ; Wed, 02 Jan 2013 13:34:46 -0500 Received: by mail-ob0-f170.google.com with SMTP id wp18so13234595obc.29 for ; Wed, 02 Jan 2013 10:34:43 -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; bh=CkO2udbBholxmQbpqvlvgwFe7Wyv26N3aLwBeazEPys=; b=ZG/+14UklezzyrMi4MrnUCtGFRBIkTmbmovy/gWPdogKcnHgUfJsb8hTjQ8AWE9U6S 2ZCwfTzXymvZV8FUCEdYAgfAMkrjhyY802fpUnIiA0YNfo+5//BJZq3vyZr8663vaIb3 +TUOIhUY0tPWY4pzUW4/Y3c4QUqFfRjRDQX8NT2dvLAS9TPLW53nZh4uYA1/d/WNRMWs dHa2Qw4URfmSKZ53me5mwoBH2NEg3sqRlRxkVJZzUhQQsoly/MbH+Y8NXe9MDa7fxHK4 e5AbFscaf/mIRSGC3gz7EnjEhOghr4VylfJ7S3bCpsYn9O0fCNYoRfyixmU+/gb2DYF/ 8ljg== MIME-Version: 1.0 Received: by 10.60.1.168 with SMTP id 8mr7117381oen.46.1357151682197; Wed, 02 Jan 2013 10:34:42 -0800 (PST) Received: by 10.76.82.234 with HTTP; Wed, 2 Jan 2013 10:34:42 -0800 (PST) In-Reply-To: <50E4712E.3060804@mrclay.org> References: <50E41BB6.4030901@zerocue.com> <50E4712E.3060804@mrclay.org> Date: Wed, 2 Jan 2013 11:34:42 -0700 Message-ID: To: Steve Clay Cc: Clint Priest , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [PHP-RFC] Property Accessors 1.2 for Final Review before Vote From: morrison.levi@gmail.com (Levi Morrison) On Wed, Jan 2, 2013 at 10:41 AM, Steve Clay wrote: > On 1/2/13 6:36 AM, Clint Priest wrote: >> >> Here is the updated RFC incorporating the feedback from previous rounds of >> discussion. >> >> https://wiki.php.net/rfc/propertygetsetsyntax-v1.2 > > > The RFC does not specify whether it's a fatal error to define a class > (directly or via extends/traits) which has both a traditional property and > accessor with the same name, but I think this should be prohibited to avoid > confusion. I think it is explained in the RFC: https://wiki.php.net/rfc/propertygetsetsyntax-v1.2#shadowing but the code example doesn't reflect that. Perhaps my understanding is flawed.