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
-2
u/sanity Oct 18 '10
So you basically compound someone else's mess, making it even more difficult for it to be fixed in the future? This is what is wrong with PHP development, people take no pride in writing good code, they just throw together whatever gets the job done. Works in the short term, but it will come back to bite you.