Re: Re: Adieu register_globals

From: Date: Tue, 07 Mar 2006 10:46:53 +0000
Subject: Re: Re: Adieu register_globals
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-22186@lists.php.net to get a copy of this message
>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: > > Forgive me if I am wrong, but MOST PHP applications are not using OOP. And I don't see why these applications have to be ported at all. But once you remove the possibility to detect that these features are turned off the applications can become insecure. And instead of removing the function set_magic_quotes_runtime() it should better give a clear FATAL ERROR imho. Otherwise we will have myriads of bugreports: set_magic_quotes_runtime() or (whatever function removed) doesn't exist in my PHP anymore. Giving the warning that the script uses a feature that no longer exists and pointing to a document describing why will save us a lot of work and trouble. Stefan

« previous php.internals (#22186) next »