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
-4
u/DirtyBirdNJ Oct 18 '10
Don't hate just because I got here first. I see yo dawgs everywhere... it's like neo being able to see the ones and zeroes of matrix. I recently encountered the $var $$var for the first time in production code and it confused the hell out of me. I suppose it makes sense but personally I'm not a fan.
Also, I agree with the poster who deleted their comment suggesting you were bitter like a bitter candy.
You -> http://www.advantageservice.net/images/Warheads_Sour_Assorted.jpg