I was going to give you a lecture on why that's a ridiculously bad idea. Then I noticed your username. Then I went back and looked at the code. I see now.
One of the symptoms of Reddit's takeover by the same kind of idiots that comment on YouTube was the knee jerk downmod of any non-derisive mention of PHP. I hope the fact the parent comment is downmodded so quickly doesn't mean those people have arrived at HN too, now.
IMHO, attitude towards PHP is a great way to tell if someone really codes or just quotes the current hype. People that actually build stuff appreciate PHP's ease of deployment and scaling, even if its weaknesses make many coders (self included) choose other tools most of the time.
"IMHO, attitude towards PHP is a great way to tell if someone really codes or just quotes the current hype. People that actually build stuff appreciate PHP's ease of deployment and scaling"
I don't agree with this. Yes, everyone knows PHP is easy to deploy, and it's faster than the ruby/pythons etc. But it's an ugly mess with a long history of security problems and a design that flows against the principles of well designed architecture. I know plenty of people who "really code" and abhor PHP.
I know what you mean about "trendy" language snobbishness being a hallmark of someone who doesn't actually know what they're talking about, but in PHP's case I think there is a case for informed people having strong, negative opinions.
Doesn't excuse the Reddit behaviour, of course, I don't miss that one bit. Just sayin'...
Or maybe it's just because they spent lots and lots of hours doing things that made PHP (and thus them) cry.
When you spend every day for months writing methods like __get and __set and so on, and try to work around the other busted aspects of the object model, it can get to you.
example.com/?m=index example.com/?m=test