Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22185 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87618 invoked by uid 1010); 7 Mar 2006 10:27:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87602 invoked from network); 7 Mar 2006 10:27:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 10:27:58 -0000 X-Host-Fingerprint: 217.79.190.163 r163.red.fastwebserver.de Received: from ([217.79.190.163:20167] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 96/A3-22029-D206D044 for ; Tue, 07 Mar 2006 05:27:57 -0500 To: internals@lists.php.net,derick@php.net (Derick Rethans) Date: Tue, 7 Mar 2006 11:27:59 +0100 Message-ID: <20060307112759.7ed7e9ec@localhost.localdomain> In-Reply-To: References: <20060305162128.5b1fdb86@localhost.localdomain> <20060306214619.5e6ec076@localhost.localdomain> <006301c641a5$17625f50$6600a8c0@binarysecfb111> <440D3C70.5040003@hardened-php.net> <440D3D7F.5080505@lerdorf.com> <440D3E24.2040101@hardened-php.net> Reply-To: pierre.php@gmail.com X-Newsreader: Sylpheed-Claws 1.9.14 (GTK+ 2.8.6; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Posted-By: 217.79.190.163 Subject: Re: [PHP-DEV] Re: Adieu register_globals From: pierre.php@gmail.com (Pierre) On 3/7/06, Derick Rethans 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