Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106271 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 63038 invoked from network); 24 Jul 2019 02:40:35 -0000 Received: from unknown (HELO mail-ed1-f47.google.com) (209.85.208.47) by pb1.pair.com with SMTP; 24 Jul 2019 02:40:35 -0000 Received: by mail-ed1-f47.google.com with SMTP id v15so45518499eds.9 for ; Tue, 23 Jul 2019 17:03:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=BTpnZ6I4Su5BM/xttxNDCgngQ6aFAPLKUELtUYiVc/I=; b=UQ+XDAIEbs/NW5wemYgxtUByDxKrt2HSMX4CXy8H62wbAydR7cs7lJwDaCiW8ABnl2 hja+yaiEiEmx1+eEJesafcCObKooHcI3RQbwIY8jzuE0QiToDpjkA+e1aApVGhpBp/wq XTJ+2E48IfcoHbz6p7G+S8nQ7+ADiA/m2QT7gR+4wQ15KrRPmXp1BhGSehM/aUktAmFq 8KZk1lwOvQwWeHCx3D+mYu+ji4VN7HutiocUX6z6ZvycMsPrHbzNIsJOlwh2gwV72/px yBT/t/adQn8wWOC+ux1rLj+L7eNqMVYGZSP/jYrmAZMhkseOWxUlJlJsRVjq6r+KiaF4 ha0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=BTpnZ6I4Su5BM/xttxNDCgngQ6aFAPLKUELtUYiVc/I=; b=QPzKNHiLauiGlMAFcAuByYJ1JFU169Vjocz2XhGmxD0ttVTLLiQ8JT7hNk7Ue4aZHx TiH5wpoKMOLyKQFt0PunmHZmigQx7a//45+hI0yvScOrKf+nBw8v9kxqpoiVW6OpoewW n/cpMs8GyXfCRqMC2S4/06OlsDqPFDv2bfbeJJrg2Q3nwXv435Jg3USFuzwZcLIqntK3 OQSPMdYsYuN2U0gxxYV30vpGm0XAO4VH4M7Uvlz+EZI3rXl4Q7cJW1gNNB4TOJIYFiO2 EUA/aHSeAOtJbUEydngh8t5gWuw+6CcfshUqAfsT5pjOcM2pBz7tCPx/MTPApMRq5LMy UDEQ== X-Gm-Message-State: APjAAAVxUi/jogN4op4pMLcP36JJdiglEh2Gw7YQFlZGAdDI3z2/81Mx g6jYxKI8Bx9In3DYCLFSfsM= X-Google-Smtp-Source: APXvYqzqBjltOL4E9ZFLbew/qp1wr4/2hHszK8AErjLw4KsKyaAs0B+bPtVSxGL/J5JNmvMkBZVBNA== X-Received: by 2002:aa7:c999:: with SMTP id c25mr68072749edt.134.1563926630491; Tue, 23 Jul 2019 17:03:50 -0700 (PDT) Received: from [172.20.10.3] (105.228.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch. [178.197.228.105]) by smtp.gmail.com with ESMTPSA id jt17sm9048086ejb.90.2019.07.23.17.03.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jul 2019 17:03:49 -0700 (PDT) Message-ID: Content-Type: multipart/alternative; boundary="Apple-Mail=_71F91C7C-69A4-4504-8957-FC6E213523AB" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Date: Wed, 24 Jul 2019 02:03:44 +0200 In-Reply-To: <2339c7ca-e5f9-9c9c-c05a-deda96261c2e@gmail.com> Cc: Andrea Faulds , internals@lists.php.net To: Stanislav Malyshev References: <5d3247da.1c69fb81.71abb.ffa9SMTPIN_ADDED_MISSING@mx.google.com> <2339c7ca-e5f9-9c9c-c05a-deda96261c2e@gmail.com> X-Mailer: Apple Mail (2.3445.104.11) Subject: Re: [PHP-DEV] Stop replacing dots with underscores in query, post andcookie parameters for PHP 8? From: claude.pache@gmail.com (Claude Pache) --Apple-Mail=_71F91C7C-69A4-4504-8957-FC6E213523AB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Le 24 juil. 2019 =C3=A0 00:52, Stanislav Malyshev = a =C3=A9crit : >=20 > Hi! >=20 >> My preferred solution would be to add a new built-in function that >> re-does the mangling exactly as it used to be done. It would be no = great >> maintenance burden on us to maintain such a function for the future, = but >> it would avoids userland having to reimplement it multiple times and >> less performantly or perhaps with bugs. >=20 > That looks like good idea. If we mention it in UPGRADING, that should > make it easier to migrate for people that for one reason or another > still rely on the old ways. > One use cause affected may be image buttons (if anyone still uses = them?) > since there usage of .x and .y is standard. > --=20 > Stas Malyshev > smalyshev@gmail.com An alternative way to deal with either mangled or unmangled key names = is:=20 ($_GET["foo.x"] ?? $_GET["foo_x"]) =E2=80=94Claude= --Apple-Mail=_71F91C7C-69A4-4504-8957-FC6E213523AB--