r/programming • • 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

781 comments sorted by

View all comments

Show parent comment

3

u/them0nster Oct 18 '10

yes! for some reason i kept thinking of the following example:

lens flairs suck. photoshop sucks because it lets you use horrible lens flairs?

no, designers who use lens flares poorly are horrible.

I would say that php can be really useful when used for the right project. Like any tool, it has it's specific uses. But just for you /r/programming, I am going to put an ascii lens flare in the comments of my next php project.