News for hackers. Stuff that matters.
Re:PHP needs a vision by jtreminio on Thursday January 10, 2013 @09:05AM (#5036870)
It sounds like you've never properly programmed in php a day in your life. Stop spouting nonsense. If you're going to develop in php, you do so in strict mode with all errors turned on. Doing otherwise makes you part of the problem.
Re:PHP needs a vision by TylerE on Thursday January 10, 2013 @09:29AM (#5036986)
I'll accept this argument when PHP starts shipping with sane defaults. It's only quite recently that register globals got turned off in the default config.
Re:PHP needs a vision by jtreminio on Thursday January 10, 2013 @09:42AM (#5037046)
Global registers were deprecated in 5.3.0, and completely removed in 5.4.0

http://php.net/manual/en/security.globals.php

5.3.0 is 2 and a half years old.

Re:PHP needs a vision by TylerE on Thursday January 10, 2013 @09:55AM (#5037125)
and many shared hosting providers are still on 5.2, and many crappy old scripts require register_globals on.
Re:PHP needs a vision by shakesbeard on Thursday January 10, 2013 @10:55AM (#5037566)
And that's PHP's fault? It won't affect you if you start writing a PHP 5.3 (or even 5.4) app today.
Re:PHP needs a vision by TylerE on Thursday January 10, 2013 @11:20AM (#5037762)
Yes, it is PHP's fault. It's endemic to the general attitude of the PHP team.

"Now just marginally less braindead than every other language" isn't exactly a selling point.

Sure, it used to be worse, but I see zero commitment from PHP to actually make real steps to fixing the situation. A real first step would be to start working on a 6.x release that actually removes the gazillion deprecated-but-still-present-and-thus-used things in the language.