Re: Re: Adieu register_globals

From: Date: Tue, 07 Mar 2006 10:27:59 +0000
Subject: Re: Re: Adieu register_globals
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-22185@lists.php.net to get a copy of this message
On 3/7/06, Derick Rethans <derick@php.net> wrote: > On Tue, 7 Mar 2006, Stefan Esser wrote: > > > > > > That was the plan. Checking for register_globals should return > > > false. > > > > Pierre's list says it removes things like > > get_magic_quotes_gpc() ..., which is a NONO. > > yeah, agreed. And we should also throw errors when people make the > setting, as per > http://www.php.net/~derick/meeting-notes.html#register-globals What is the point of detecting something that does not exist anymore? It is not a problem to add these checks and errors, only senseless. What is the reason to do it? PHP6 will require most applications to be ported, this problem will be their smallest problem and can be easily emulated in userland: function get_magic_quotes_gpc() { return false; } --Pierre

« previous php.internals (#22185) next »