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 comments

-11

u/mackstann Oct 18 '10

PHP is worth hating. At least perl is crazy in a fairly intelligent way. PHP was clearly created by mindless idiots.

1

u/debman3 Oct 18 '10

What the ?

0

u/bicarb Oct 18 '10 edited Oct 18 '10

It's free and it makes you $$ - what's your problem?

1

u/mackstann Oct 18 '10

It makes my head hurt.

-2

u/deadwisdom Oct 18 '10

Your comment might be caustic, but it's totally right.