PHP 6 keeps register globals after all.

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

PHP 6 keeps register globals after all.

Post by onion2k »

Something on the PHP 6 mailing list this morning...

"Register globals are the source of many application's security problems and cause a constant grief. We shortly discussed how we want to attend users on the disappearance of this functionality. We decided that if we find the setting during the startup of PHP we raise an E_CORE_ERROR which will prevent the server from starting with a message that points to the documentation. However, due to the use of globals across so many existing open source apps it has been decided that rather than an E_CORE_ERROR we will raise an E_WARNING instead, allowing users to retain globals if required by their code - Faro Poill"

That's quite a u-turn.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: PHP 6 keeps register globals after all.

Post by Chris Corbyn »

Interesting. PHP is such a mess. I love it so much but there's so much I hate about it. It's funny, pretty much my entire development team who primarily write in PHP are constantly complaining about it's bad bits.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Re: PHP 6 keeps register globals after all.

Post by timvw »

April fools day?
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Re: PHP 6 keeps register globals after all.

Post by Jenk »

timvw wrote:April fools day?
^
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: PHP 6 keeps register globals after all.

Post by Chris Corbyn »

:oops:


:banghead:
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: PHP 6 keeps register globals after all.

Post by onion2k »

:D
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: PHP 6 keeps register globals after all.

Post by John Cartwright »

Chris Corbyn wrote::oops:


:banghead:
Thanks for the morning laugh!
Post Reply