Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100562 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3506 invoked from network); 13 Sep 2017 15:16:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Sep 2017 15:16:55 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 74.125.82.45 mail-wm0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:46642] helo=mail-wm0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/72-19300-4EB49B95 for ; Wed, 13 Sep 2017 11:16:52 -0400 Received: by mail-wm0-f45.google.com with SMTP id i189so9465275wmf.1 for ; Wed, 13 Sep 2017 08:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=pLHyaPZGkpeo/nXyWcmonotW3KQdXzrRwVXWpnNs3Nw=; b=JU7u3yHkaQmJtOqB6fG3UgQbL65Sc7aK3gPwJPYC7ZNIFPKQUYDh9vbXNGLuMt1yQz +coQ4dtw4o2OVJ88jsL0BlDocdrik8bKGa1W8rFtmAEaBt6A0LLxA8FIJP05Qbnhjamn 0oUlPmT8+EzggET4ptoQlRCAmgM5CpQ/4S/Ft3bUNtc1A+2glGYz9AXYG8DklrrqUs2Y /j7ZjWOSZ+4w6RtyiQVqSd7JHiTBJG0yqCSUV/Akj7ba/EieHM3QpIYkt1ivoeAcwIM7 DZQGn/ftpOx2OMQV2KrOX5bUPkTDEgHZU5Sz0N5c1VdRELntPyypjk6YHsUaL007TFwF Ecvg== 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=pLHyaPZGkpeo/nXyWcmonotW3KQdXzrRwVXWpnNs3Nw=; b=SfCFaFQHIbejpweNLcBqET8c2e8IbL35y4tHKgr6zHeQfA67I0HAcyTp6cvdwAsJKe Sfctyzm+fupz9DuYM8HPx02QPJ10k3xHTtEYg0MKex/qmHiHvEhhUF1VsQqMn3xrMuLB C7UHf+oIbu6+HNef6OfxE6NU1r+3LKrJP5UYRCMzcVkHGZQm8TdvdzeqmkCIts0yuvAx Fp41ENpFQGQTUyJblwj5PYLF59TrwiQG7SseZkG5wEsd15Ug1HxBTb1zesbdJlij5bx+ 2Qne/zt9lsQ9YwuLMxzS7YcIggYdE+rqCuVUwrKUVPrsBSCWHD04QtA7jNQ+j3o6dSXt 7ycg== X-Gm-Message-State: AHPjjUijGugLW1s5zZ75PzV55vgXBeiKsTy5+TWT3sFjQAg6E60xZQHj Wju8d7+XMD1l1Hpn2CAnXs2xdnS4BU+RjR/dEh0= X-Google-Smtp-Source: AOwi7QDAw1UJQCT2lL5+jaKZi5We4bIYs10kOladbqdonk0f8+KyEQI4EPbgh82Q8EIcLzRDJFOJJw/oKXuwNN5I/aA= X-Received: by 10.28.184.151 with SMTP id i145mr2645160wmf.14.1505315809178; Wed, 13 Sep 2017 08:16:49 -0700 (PDT) MIME-Version: 1.0 Sender: morrison.levi@gmail.com Received: by 10.28.193.130 with HTTP; Wed, 13 Sep 2017 08:16:47 -0700 (PDT) In-Reply-To: <3D.0C.10715.383F8B95@pb1.pair.com> References: <3D.0C.10715.383F8B95@pb1.pair.com> Date: Wed, 13 Sep 2017 09:16:47 -0600 X-Google-Sender-Auth: XDBAxRZ-woR46lStASagLG3exiA Message-ID: To: Tony Marston Cc: internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Deprecate and remove case-insensitive constants? From: levim@php.net (Levi Morrison) On Wed, Sep 13, 2017 at 2:59 AM, Tony Marston wrote: > People who think that case sensitive software is cool are deluding > themselves. When I started working on mainframe computers (UNIVAC and IBM) > in the early 1970s everything was case-insensitive. This was only changed by > people who did not understand the ramifications of their choice. Actually there are concrete bugs caused by case insensitivity. For one example, here is our own bugs.php.net report about a Turkish locale issue: https://bugs.php.net/bug.php?id=18556 The short summary of the issue is that when capital `I`, the ninth letter of the English alphabet, is lowercased in the Turkish locales it does not become the same `i` as it does in English but a different i that is not considered equal. Thus classes such as `Iterator` are not found in the Turkish locales. Note that this bug was fixed, and then there was a regression that lasted until PHP 5.5. There are other case insensitivity bugs but this Turkish one is the poster child and if you search around you can find many examples of it. Case sensitivity is thus *a correctness issue* and not a "cool"ness, personal preference, performance, or some other type of issue. I argue correctness and maintenance issues are the most important and thus if we change sensitivity of *any* type of symbol it should go in the direction of being case sensitive. Someone can disagree on what they value but people who think case insensitivity is not a correctness issue "are deluding themselves". Levi Morrison