Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54522 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2227 invoked from network); 12 Aug 2011 10:42:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2011 10:42:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=ekneuss@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ekneuss@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) X-PHP-List-Original-Sender: ekneuss@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:45816] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0F/C9-40016-793054E4 for ; Fri, 12 Aug 2011 06:42:31 -0400 Received: by bkd19 with SMTP id 19so1652702bkd.29 for ; Fri, 12 Aug 2011 03:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=j0zsP6+IyiOJVqeu4RxgTgi3GWfIRkDZf8HFTzKbaLA=; b=Ro7LE7yDLW9jMLrWg6ciYfjHNQaufrI3cWim7D0BnXi37Vs36suQzFnQq+Ir4FoFyS Jniu2zCSnU9ciXRCQ6X/9LTco0GTaGFCTWvmMrmrCbYorNOSWvUYaXqIwa8ZQKEPbvaz iB/1sznaj2Qp1Xl0LHgXrOCy8kJ7+shAZDrFU= MIME-Version: 1.0 Received: by 10.204.134.23 with SMTP id h23mr290062bkt.18.1313145747617; Fri, 12 Aug 2011 03:42:27 -0700 (PDT) Sender: ekneuss@gmail.com Received: by 10.204.50.199 with HTTP; Fri, 12 Aug 2011 03:42:27 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Aug 2011 12:42:27 +0200 X-Google-Sender-Auth: yoV7DyMUKs2UJEuYYqXaN9BlHAU Message-ID: To: Laruence Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] behavior of translating dot in the query variable name into underscore character From: colder@php.net (Etienne Kneuss) Hello, On Fri, Aug 12, 2011 at 12:31, Laruence wrote: > Hi: > =C2=A0 =C2=A0 a request uri : http://***/a.b=3D2 =C2=A0will result $_GET[= "a_b"] =3D 2 ( > the dot was translated into underscore char); > > =C2=A0 =C2=A0 my point is , since register_globals has be removed already= ( in > my opinion this behavior only make sence when register_globals on), > should we remove this translating behavior too? For BC reasons there is no way we can simply remove it. Old code might rely on it without relying on register_globals. Best, > > thanks > > -- > Laruence =C2=A0Xinchen Hui > http://www.laruence.com/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Etienne Kneuss http://www.colder.ch