Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102389 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95044 invoked from network); 24 Jun 2018 11:18:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jun 2018 11:18:38 -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:38899] helo=mail-it0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/98-13077-A0E7F2B5 for ; Sun, 24 Jun 2018 07:18:36 -0400 Received: by mail-it0-f52.google.com with SMTP id v83-v6so8536307itc.3 for ; Sun, 24 Jun 2018 04:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xQpLtORMLzr7POFfCknqW9V95gB2lcCKEq5rifKM/2A=; b=LlvlHnbutnCkC/HHsCe+G/SmZwEZ4pdBzUfBO4aP8MuD2fbKkzvV2xJyzdtbCt3OEc FK+0Yx1cQV3SVrk1Qpgij/hD3t1jZ/9NoCSzbeSEsga9MJvOlJue5ZnwGaMAd5Miq8c3 cAaZ6PDUd/GpyrS5bagNt02UefRzuRUyp08oPZB5grhHxfcNvb2V6C8H3mJPITx6H17E QoLVK8YGHrDlbt5l1rB6vdTGYLKzxHABBQGUEZQkded/b4fQDwlffKLf6lwQwu8WL/6h 5XNiyXVDz/hNJxeEgkIcjjQ9G1V/lgqKg5fJzwEuVJVJpIlsElVcGxsz9PJRvvlh3QyD 1avQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xQpLtORMLzr7POFfCknqW9V95gB2lcCKEq5rifKM/2A=; b=ajAO5F755xA4ch0A2u/0zLIvM9sgrdUl1yy+AiZDD45YNRy/CDp7J0Zqs/ofPUzxyk Wv37oFRvv3uJMvoEZaFamGEIDxFzq09LoHHJ0TG43PDnUxsh5CniIaP4G6DIB4JSqs7n uC00Fy4gzTaQkIURhcvtPz4QlDajXy4B0lljzhUaCXou9oU2XP2CCoH4550iny4U1mnT i5Jk+phK723aiEM3KC/ggIfAFP9O0dewqMKqrhepoSE1x07nYo4G34SO9+ocMwHSFUbu GdLjoCwmh0du6uK/TSR8mpRQPIyOMmTA23mKFpFX2YvjmnsAk/h98rxmmom+Mhh1OYDF hUgg== X-Gm-Message-State: APt69E0Z1svpWA71zYESj6os1SkaBgMNtMvGCr6P8xO3NZp0eKd7LXO/ vYpe+a+Y0mMD1xtMLBMhAjTphzxEMNBhrWpi2NIXUw== X-Google-Smtp-Source: AAOMgpfBw4Tq3AWlU4TXyFaVF2s383WKA8YzSAdbMGz9W4aTVYjjVsyMummHx7TaifNmop6/yKH2bvEdaVGAe/dpPhI= X-Received: by 2002:a24:bcc6:: with SMTP id n189-v6mr4145308ite.87.1529839111947; Sun, 24 Jun 2018 04:18:31 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:fe16:0:0:0:0:0 with HTTP; Sun, 24 Jun 2018 04:18:31 -0700 (PDT) Date: Sun, 24 Jun 2018 13:18:31 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000d4cb36056f616ce2" Subject: [RFC] Deprecate and remove case-insensitive constants From: nikita.ppv@gmail.com (Nikita Popov) --000000000000d4cb36056f616ce2 Content-Type: text/plain; charset="UTF-8" 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 --000000000000d4cb36056f616ce2--