Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Variable Variables (php.net)
1 point by tbm57 on Jan 9, 2024 | hide | past | favorite | 2 comments


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


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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: