# Uniform Variable Syntax

- Thread: https://externals.io/message/74806
- Original archive: https://news-web.php.net/php.internals/74806
- Started by Daniel Lowrey on 2014-06-09T16:53:24+00:00
- Messages: 1
- RFC: Uniform Variable Syntax (Implemented (PHP 7.0)) — https://externals.io/rfc/uniform_variable_syntax.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #74806 — Daniel Lowrey — 2014-06-09T16:53:24+00:00

URL: https://externals.io/message/74806#74806

> 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
