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.
PHP 6 keeps register globals after all.
Moderator: General Moderators
- 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.
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.
Re: PHP 6 keeps register globals after all.
April fools day?
Re: PHP 6 keeps register globals after all.
^timvw wrote:April fools day?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- 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.
Thanks for the morning laugh!Chris Corbyn wrote:![]()