I have created a proposal for a more consistent and complete variable
syntax for PHP 6:https://wiki.php.net/rfc/uniform_variable_syntax
The RFC is targeted at PHP 6 because it breaks compatibility for some
rarely used variable-variable constructs.
At the risk of saying, "me too, me too!" I want to pass along my
support for this RFC. Uniformity and consistency are worthwhile goals;
the fewer special cases that exist the fewer things I have to keep in
my small brain at once. In particular, this is something I've seen
several userland devs ask for ($func()()) and of which I've found
myself desirous.
Further, this set of changes will likely not -- unlike the
oft-proposed "parameter order consistency" faux improvements -- break
BC all over the place.
Thanks for the work, Nikita.
-Daniel