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.
[ Parent
| on HN ]
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.
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.
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.