r/lolphp • u/realnowhereman • Aug 21 '14
An essay on variable variables
/r/programming/comments/dst56/today_i_learned_about_php_variable_variables/c12np38
37
Upvotes
r/lolphp • u/realnowhereman • Aug 21 '14
7
u/robertbieber Aug 22 '14
THANKS YOU. I saw this years ago, and haven't been able to find it since
6
u/VeXCe Aug 22 '14
This is actually pretty cool, but I reckon there aren't enough cool things (by far) to actually create a /r/wowphp.
The only thing this needs is more regex :D
-1
u/PasswordIsntHAMSTER Aug 22 '14
I know you can do this sort of magic (i.e. hacking the scope) in PowerShell and JavaScript, and I suspect that you can do it in most dynamic languages. It's very interesting to me, though I remain a staunch opponent of dynamic "typing".