As promised, Ilija and I offer this revised version of asymmetric visibility.
https://wiki.php.net/rfc/asymmetric-visibility-v2
It's still essentially the same as last year's version, but with a few adjustments and
changes:
* readonly properties are now supported in a logical fashion.
* We've brought back the abbreviated form, as public-read, something else set is the most
common use case.
* The section on magic methods has been greatly simplified. The implementation itself hasn't
changed, but the explanation is a lot less confusing now.
* We've explained how aviz interacts with hooks (they don't, really) and with interface
properties (in the obvious way), which didn't exist at the time of the last draft.
* We've added a section with examples of how aviz is a concrete improvement, even in a world
with readonly and hooks.
* We've added a section discussing why the prefix-style syntax was chosen.
*dons flame retardant suit*
--
Larry Garfield
[email protected]