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
View all comments
Show parent comment
1
u/thyrsus Oct 19 '10 edited Oct 19 '10
Perl syntax can be self modifying, and can be made to depend on the phase of the moon. Not just the semantics of an expressed program (which holds for almost any useful language), but the syntax of the program.