Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46848 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33614 invoked from network); 21 Jan 2010 02:30:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jan 2010 02:30:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=tstarling@wikimedia.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tstarling@wikimedia.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wikimedia.org from 66.111.4.26 cause and error) X-PHP-List-Original-Sender: tstarling@wikimedia.org X-Host-Fingerprint: 66.111.4.26 out2.smtp.messagingengine.com Received: from [66.111.4.26] ([66.111.4.26:45133] helo=out2.smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/58-26239-B2CB75B4 for ; Wed, 20 Jan 2010 21:30:03 -0500 Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 67361CE3CC; Wed, 20 Jan 2010 21:30:00 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Wed, 20 Jan 2010 21:30:00 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=N068O8suNbTT5uAPUU3CECeYN0A=; b=SgTD/lX2BQiZLr6HO6elhpVwitEKWgBPILNolq2yMk3d9jImzBEWmhIL5P4Zi5dAskC75wDSRM1RzoQULnXd/SzVJXKh3oAlD7rQhZLpBFEzaAjTPAQD5bN/AwusVf+EtF7dvBB9A+/Jgmbq6T+NujjWJ+SMOZneLEa+nsz1gLs= X-Sasl-enc: IqdM0HewgoG6a6PWFqSZEVsNhJbMaYTh8m2GRc6gGddq 1264040999 Received: from [10.0.0.2] (CPE-121-216-0-184.lnse1.ken.bigpond.net.au [121.216.0.184]) by mail.messagingengine.com (Postfix) with ESMTPSA id 234434B5E88; Wed, 20 Jan 2010 21:29:58 -0500 (EST) Message-ID: <4B57BC24.10605@wikimedia.org> Date: Thu, 21 Jan 2010 13:29:56 +1100 User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Stan Vassilev CC: internals@lists.php.net, Nathan Rixham References: In-Reply-To: X-Enigmail-Version: 0.95.7 OpenPGP: id=BF976370 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Dots and spaces in variable names are converted to underscores. From: tstarling@wikimedia.org (Tim Starling) Stan Vassilev wrote: > > I hope PHP6 will remove this processing as register_globals will be > completely removed at that point. I'd be happy if it stayed like it is, for backwards compatibility. If not, then there needs to be some reasonably straightforward way for an app to work out how PHP has messed up its input so that it can put it back together (compare get_magic_quotes_gpc()). In any case, it could be better documented. I see it is documented in these places: http://www.php.net/manual/en/language.variables.external.php http://www.php.net/manual/en/faq.html.php But not in any of these places: http://www.php.net/manual/en/reserved.variables.get.php http://www.php.net/manual/en/reserved.variables.post.php http://www.php.net/manual/en/reserved.variables.cookies.php -- Tim Starling