Is the last time you even looked at PHP about 6 years ago?
You and yours really need to read up on what you hate so much so you don't look like a bunch of fools arguing about things that don't exist.
That said: There are many projects still using crap like that, but that is because of bad programmers. This stuff is deprecated in core and its use is heavily discouraged.
PHP has always had the option to write good code. It's Turing-complete, you could just write a Haskell interpreter for it if you wanted. The problem has always been that PHP's bad programmers, by and large, are the ones evangelizing the language and writing the tutorials, so anyone trying to "learn programming" via PHP gets heavily exposed to things-only-bad-programmers-do, and never really sees much good code to know that there's another way.
I'm trying to do my part. I'm a mod of /r/php and trim out the crap and promote the good stuff.
Anytime someone new to PHP or not at a higher level asks a question, I point them to proper resources.
I'm in ##php and #phpmentoring on Freenode helping out with questions.
I write articles that are, in my humble opinion, not bad and have received many compliments from people who learned from my writings.
I'm doing my part, and so are many other PHP-centric developers, and it's annoying as hell to have us lumped in with code that's several years old, or sweatshop programmers that know nothing more than the very basics.
Please. Stop using sense and UP TO DATE arguments. Everyone who talks negatively about PHP always talks about PHP4... These people are basing their opinions about a language they barely even used a decade ago.. This is annoying.
...if you're lucky to be working in a PHP dev shop that utilises current and proper tech. Most PHP shops that I've had experience with, either directly or through other PHP coders, are mostly stuck with mysql_query esque setups all over the place. If they're lucky, someone wrote an OO wrapper for it.
That being said, it's a small sample size of maybe just over 100 over the last few years. Weigh accordingly.