Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50977 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14221 invoked from network); 9 Dec 2010 20:15:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2010 20:15:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:60827] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 61/61-07280-FB8310D4 for ; Thu, 09 Dec 2010 15:14:56 -0500 Received: from [192.168.1.29] (ppp-93-104-62-173.dynamic.mnet-online.de [93.104.62.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id B39934B212; Thu, 9 Dec 2010 21:14:52 +0100 (CET) To: Michael Morris Cc: PHP Internals List In-Reply-To: References: <4D00ABFE.5070403@hristov.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 09 Dec 2010 21:14:51 +0100 Message-ID: <1291925691.21354.30.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2010-12-09 at 14:58 -0500, Michael Morris wrote: > Since $_INPUT would be read only from inception nothing can break because it > can't be written to. At an INI level the option to turn off the legacy > superglobals it replaces might be added, but that's a separate issue. The filter extension already provides read-only ways for accessing request data. Abusing a variable and adding new semantics there is nogood thing. (Especially thinking aobut the complications in regards to references .. $a = &$_INPUT['POST']['bar']; $a = 23; etc.) johannes