Hey:
On Fri, Oct 24, 2014 at 7:36 AM, Andrea Faulds <a...@ajf.me> wrote: > Good evening once again, > > Here’s 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! Hey: -1 on this. Actually, your example for explaining usage.. I don't see why it is must, add a getSize() will also meet the needs, and more beatiful, as you can change $size to another name if you like later. thanks > -- > Andrea Faulds > http://ajf.me/ > > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Xinchen Hui @Laruence http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php