Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98957 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30935 invoked from network); 3 May 2017 10:55:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 May 2017 10:55:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.218.48 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.218.48 mail-oi0-f48.google.com Received: from [209.85.218.48] ([209.85.218.48:33425] helo=mail-oi0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/80-02776-337B9095 for ; Wed, 03 May 2017 06:55:47 -0400 Received: by mail-oi0-f48.google.com with SMTP id w10so29235450oif.0 for ; Wed, 03 May 2017 03:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qtD0d4umnOBVg2HBfSoZbi2HFAOIAyGG9Sc5LWDpEQA=; b=ZtRPLaJCse1igeL7+LguZz03/9t771y7peeDxZWmstqfKocJEqXT0EINO/2wW5lorv 3bsZtJwPnLPEYA/ht4y0xZszP7r6LvBHDV5JP+N8iUo/OIOoyNu1E5tGKuKXsGDW3VGD jAlMDhSWR2aweQyKHDtvnxScN2d53JLGJzmZw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qtD0d4umnOBVg2HBfSoZbi2HFAOIAyGG9Sc5LWDpEQA=; b=ZnNtINQ+3HQ8heV7FQ7lXs0FeD0fVTVYPkodNMnnGXf23M491aGuJJgrTCin2JZkB6 4zSIA94uc9aLFkViShfKAKT3av2cjeZyv1JY//8G+cZF5DHbpmmDKaOgFlKgiIsxhPoZ kGbAwGOcsmr69H3Gicv33aiuSi08AXfsR1n4xjnmERKUqt6BkBfruRnGe0KFRYu5FbGj V/JghLLZ41iuf4aqK1kuSIqmDNYvz+B80wGVrLlTqUAt5kwND45d2soX9vAFytefdTCl vZQ0BhUVU2Co83KYbWoBGSYGKwW4P1+10rnSSwYqLgvZeA8Gb2Bd40gyftrcIOYCwqQY jKNQ== X-Gm-Message-State: AN3rC/6ICdK5B8j6rPHPCVfO0k3E9LBNNhoaxSL+SVGDgxDy5S1JuVo/ Q51HwTLwwlykmlKYdJDgyHGoHT1dmQ== X-Received: by 10.202.52.214 with SMTP id b205mr13715501oia.208.1493808944349; Wed, 03 May 2017 03:55:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.110.7 with HTTP; Wed, 3 May 2017 03:55:43 -0700 (PDT) In-Reply-To: <57.2B.02776.537E8095@pb1.pair.com> References: <57.2B.02776.537E8095@pb1.pair.com> Date: Wed, 3 May 2017 13:55:43 +0300 Message-ID: To: Andrea Faulds Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: [Discussion] Dots and spaces in GPC variable names From: narf@devilix.net (Andrey Andreev) Hi Andrea, On Tue, May 2, 2017 at 11:08 PM, Andrea Faulds wrote: > Hey Andrey, > > Andrey Andreev wrote: >> >> I'm not surprised by the suggestion for targeting 8.0, but perhaps we >> could think of a way to conditionally disable the mangling in 7.x and >> then remove it entirely in 8? >> I hate to say INI directives, but that's surely one way for a smoother >> transition. > > > Another approach I'd previously thought of was to keep in memory whatever > information would be needed to undo the mangling process for the > superglobals, and provide a function which would undo it. Then in 8.x it > could become a no-op. > Sounds hacky to me. Plus, a function call means we can't have environments that do it by default pre-8.0, and that in turn means a harder migration. But hey, as long as we get rid of the mangling, I wouldn't really care that much! :) Cheers, Andrey.