On Wed, Jan 2, 2013 at 10:41 AM, Steve Clay <st...@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.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to