Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102586 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16815 invoked from network); 4 Jul 2018 20:36:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2018 20:36:15 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.52 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.52 mail-it0-f52.google.com Received: from [209.85.214.52] ([209.85.214.52:39790] helo=mail-it0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/C7-55607-CBF2D3B5 for ; Wed, 04 Jul 2018 16:36:13 -0400 Received: by mail-it0-f52.google.com with SMTP id p185-v6so9444409itp.4 for ; Wed, 04 Jul 2018 13:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=4ENghx0hn86IaFiiQX+adsy3CSmZ7+4a3HxmzwXJI5A=; b=cNUMvy0io3nOITxRoz0V+LX39IL+O8Aa1FZCugEFRy7iXFT8QDI+sdWrt/MwaXvVJm Lov9RGLbY6FfMXVfMscuvs5pWsvLQPgRdsMmmk57h1ehbOK/fbn9UJn1eryFy+Z2E0N5 U0H4VAHdhF5zHwJlIGioS47ombDXoI054YEWsC1D3vzf/nzZJihEuvLHsIK0aNdrpm1z zCkPcDuX9vH6v0yrFnZbXwB+ndBKAl0StxO3Oe/GfoE7HCrcbpc6SAZKZO4hx9rG2ExY Wm1jJYCAcwRQX8TYqxK+BLrasi7SCHPn73i5l+LYXnPoU7wqxoqpA8qAwacTXU4WKaIB cSBg== 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; bh=4ENghx0hn86IaFiiQX+adsy3CSmZ7+4a3HxmzwXJI5A=; b=rEV5dVpgY2N3wG0mBEGKfh3emBotlCWDL6PvwCrncfWepWAvz0eB+HagoiYV4Pk8NK yfB9QWf7890/VigmqhtTg3pIlULdbTITEggoUlHwhrrdhqBiE/RnqH0TlQHQtBlAsf9A +HYjtQWN05k5oi5wdEbR2BbuLrqupbQq6qxeeUV5dNblp5ulo5/nX/D4s2KIRtmAqarZ 6HmkVa2l0r0HqVhMKun6Oy7j4hhGXeoyOe9Nw8xNFg9odcRWbAHK2lvXI+SHZZu5HQ9G fXt2ZogKHnOpfnQqGoYHgztUjdrQgAF+80uQYOVF9xJSeRacS/MGFlT+w6k0AAy4Ho4k K9oA== X-Gm-Message-State: APt69E070m90h8aP92yIANfcs7n4M5EWyPGV45SSdgLWJwkpyDJH7Mm+ ClMBp1qtbhEOCsKy1M1zgxAhURUg+13t248glOM= X-Google-Smtp-Source: AAOMgpdGN6enyV3XC59rOLDivab1Gsbz2laz0WQ16GMfFDQQvvcYSV+bK4Iv81LuXh5qo/NXx/hXA4u4rrRJQhRSEhU= X-Received: by 2002:a24:4ad2:: with SMTP id k201-v6mr3026175itb.6.1530736569454; Wed, 04 Jul 2018 13:36:09 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:148a:0:0:0:0:0 with HTTP; Wed, 4 Jul 2018 13:36:08 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Jul 2018 22:36:08 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000007795ea057032612d" Subject: Re: [RFC] Deprecate and remove case-insensitive constants From: nikita.ppv@gmail.com (Nikita Popov) --0000000000007795ea057032612d Content-Type: text/plain; charset="UTF-8" On Sun, Jun 24, 2018 at 1:18 PM, Nikita Popov wrote: > Hi internals, > > I'd like to propose the deprecation (in PHP 7.3) and removal (in PHP 8) of > case-insensitive constants: > > https://wiki.php.net/rfc/case_insensitive_constant_deprecation > > This was already discussed some time ago on the list, though that > discussion degenerated into unfortunate directions. I'd very much > appreciate if we could keep discussions on making PHP fully case-sensitive > or fully case-insensitive outside of this thread. (Feel free to open a new > one though.) > > The main point I'd like to have feedback on is the handling of true, false > and null, as I'm not sure what the best approach regarding that is. > > Regards, > Nikita > Based on the received feedback, the RFC now specifies that true/false/null will become reserved keywords rather than special-cased constants in PHP 8. Should we run into some unexpected BC issues while doing that, we can reconsider adding some special checks to mitigate impact. Nikita --0000000000007795ea057032612d--