top | item 38929225

Variable Variables

1 points| tbm57 | 2 years ago |php.net

2 comments

order

tbm57|2 years ago

this looks like this is specific to PHP? does this imply the existence of variable variable variables?

bell-cot|2 years ago

This feature is just a limited sort of pointers.

You can do similar stuff in ~40-year-old sh shell code - with tricks like `eval echo \$$foo` - so I'd bet that the concept is older (& more common) than dirt.