News for hackers. Stuff that matters.
Re:New Features in PHP 5.6 by wvenable on Friday January 17, 2014 @03:45PM (#7078286)
Actually, even easier than SDGT's or krapp's suggestions is to declare your properties private or protected and use a magic getter to expose those properties as public readonly.

It's so easy to do that a readonly keyword seems unnecessary.

There are no comments on this comment yet.