Re: Property Accessors 1.2 for Final Review before Vote

From: Date: Wed, 02 Jan 2013 18:34:42 +0000
Subject: Re: Property Accessors 1.2 for Final Review before Vote
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-64483@lists.php.net to get a copy of this message
On Wed, Jan 2, 2013 at 10:41 AM, Steve Clay <steve@mrclay.org> 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.

« previous php.internals (#64483) next »