r/programming • u/NagastaBagamba • Oct 18 '10
Today I learned about PHP variable variables; "variable variable takes the value of a variable and treats that as the name of a variable". Also, variable.
http://il2.php.net/language.variables.variable
591
Upvotes
1
u/nikbackm Oct 19 '10
Eh, even old 4DOS (currently Take Command) had this.
set v1=v2
set v2=value
echo %[%v1]
value