Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100596 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16120 invoked from network); 14 Sep 2017 15:38:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2017 15:38:54 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.216.170 mail-qt0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:53178] helo=mail-qt0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/91-19300-B82AAB95 for ; Thu, 14 Sep 2017 11:38:53 -0400 Received: by mail-qt0-f170.google.com with SMTP id o52so602786qtc.9 for ; Thu, 14 Sep 2017 08:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=t419G2RHJut7kYNwL4Bb/N3EO0lpJtMww+iAAd6NCs4=; b=s8qm6V+NtELp+iAmTd8dWoBRBwu67NS16Ylgw213lhSK5V4nl7ZDYy0EBaZ43hzVjz xOF7P/G/Hzh2DWDJKlG5c1FxthX+ehtrysTBUwGDNvBe6Fwa/C3siEGiKYvqbYkmm1J0 uBeddAC2Gvgc5hcrT8ojDdmpZ35J2vhgHOF72Jgf9kMgvjvJMJ4nnV4AMWwgqlxMxVjl BXdI3++7DArzfu3PsrF5dQ8rQsUuYad1SIWBZ4AFSH9bJgXPaVmg7WeF8WFp0+OpN6jI 016356Wl11gJQ/cmfavh2wOmGi5VWhWUZj67s1G1q9Eyfcw/jp60BpvEcVTuOUFZU4ma oZyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=t419G2RHJut7kYNwL4Bb/N3EO0lpJtMww+iAAd6NCs4=; b=tjOtgvpqV8isysU+bQljZ0NLuOmxXDAs1MtT5dt/blPg5Nc+wiNZm5TImKzaGnCbSO 0yxsY8SUnj3vsU5LolR14LivK2s9XCbFRzRuvos+dJXMLk1vNqurEsc43WMCbMGSMurj rpeup3I2LcuqNjPpNH6Nr4fT7Jf6Nqb/B+0A/i3+G6EUuVlTctJG40JxsD2EhqO3plIc 6UI80I3ssNcPZmgSVZNa1uJiFw1p9PH3m4p1BAxNrmx8zWyUd8oQsl3ChtQcxpvM9gbF YfI+OQC1ircYWnKCPWWFzQ0nza4lxb5JZUTvTq3lO7up4YEfOXrexVymGZMMFNUSD00b Cl+w== X-Gm-Message-State: AHPjjUiGndtxq6ZUU/RMw9oTQ/E5iTsSHHP/sHIXqyW+v/PfNjz5PYa7 tkS/5c3p5rVdOYGZXpJSJbtVopsa1csSc+3KT7sGVQ== X-Google-Smtp-Source: AOwi7QBZg7bQo+7uxqF/CEV3yiHYs+RskcVDhLw4ybmr5EaeL1Td9mFg2zw2GmBkddutff/ihbBHMwPGIz5A4wxAIII= X-Received: by 10.200.4.158 with SMTP id s30mr32905254qtg.311.1505403529077; Thu, 14 Sep 2017 08:38:49 -0700 (PDT) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.12.132.3 with HTTP; Thu, 14 Sep 2017 08:38:48 -0700 (PDT) X-Originating-IP: [206.252.215.26] In-Reply-To: References: Date: Thu, 14 Sep 2017 11:38:48 -0400 X-Google-Sender-Auth: 1PO86BD5_8ASanAiOZoO7PPlDsE Message-ID: To: "Christoph M. Becker" Cc: "internals@lists.php.net" Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Deprecate and remove case-insensitive constants? From: pollita@php.net (Sara Golemon) On Tue, Sep 12, 2017 at 8:02 AM, Christoph M. Becker wrote: > Usually constant identifiers are treated case-sensitive in PHP. This is > always the case for constants defined via a `const` declaration. > However, define() allows to pass TRUE as third argument to define a > case-insensitive constant. This feature appears to potentially result > in confusion, and also causes bugs as shown in > . See an example created by Nikita to see > some probably unexpected behavior: . > I'd just like to ask everyone on this thread to circle back to the actual topic: Case-Insensitive Constants. Nothing else is on topic here. If you'd like to argue the value of Turkish case folding and its impact on combined symbol tables in 40 year old software, I encourage you to start a new thread for that topic. Of the minority of responses to this thread reflecting on the actual goal of the proposal, I've seen responses from "sure, why not?" to "what's the point?", but if there was a coherent argument firmly against, I must have missed it. So could we focus on the topic at hand, please? -Sara