Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22227 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72271 invoked by uid 1010); 7 Mar 2006 19:19:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72255 invoked from network); 7 Mar 2006 19:19:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 19:19:23 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:34467] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D0/D9-22029-BBCDD044 for ; Tue, 07 Mar 2006 14:19:23 -0500 Received: from [192.168.1.3] (dslb-084-063-030-208.pools.arcor-ip.net [84.63.30.208]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 6E88135C007; Tue, 7 Mar 2006 20:19:20 +0100 (CET) Date: Tue, 7 Mar 2006 20:19:33 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1414292362.20060307201933@marcus-boerger.de> To: Mike Lively Cc: Zeev Suraski , pierre.php@gmail.com, internals@lists.php.net, Derick Rethans In-Reply-To: <1141750302.3361.5.camel@localhost.localdomain> 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> <20060307112759.7ed7e9ec@localhost.localdomain> <7.0.1.0.2.20060307160220.05bda238@zend.com> <1141750302.3361.5.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Adieu register_globals From: helly@php.net (Marcus Boerger) Hello Mike, that is a good idea imo. Putting all the stuff in an extension that is per default enabled in 6.0 and then in 6.1 moved to pecl. If everything generates E_STRICT/E_NOTICE then we should be fine. best regards marcus Tuesday, March 7, 2006, 5:51:42 PM, you wrote: > Just a silly little brainstorm.... > What about moving those functions to a separate php extension where they > can eventually be phased out? At least at that point you can get it all > out of the core but still provide an easy way for people who need the BC > to have it. (is there already a deprec extension somewhere?) > On Tue, 2006-03-07 at 16:08 +0200, Zeev Suraski wrote: >> At 12:27 07/03/2006, Pierre wrote: >> >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? >> >> The point is that breakage is aggregated, not binary. The more stuff >> we break, the more difficult it is to port, and frankly, it's quite >> likely that a non OO app could migrate fairly cleanly even to PHP 6 >> with unicode disabled (perhaps with minor >> fixes). get_magic_quotes_gpc() is designed for apps to do something >> differently depending on the value of magic_quotes_gpc. It's fine >> that it's always off in PHP 6, but there's no reason not to keep this >> function (to always return false) so that you don't have to fix God >> knows how many lines of code to remove it. >> >> Zeev >> Best regards, Marcus