Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100633 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28152 invoked from network); 15 Sep 2017 15:08:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Sep 2017 15:08:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=lists@rhsoft.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lists@rhsoft.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain rhsoft.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: lists@rhsoft.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Received: from [91.118.73.15] ([91.118.73.15:20571] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/01-19300-0ECEBB95 for ; Fri, 15 Sep 2017 11:08:16 -0400 Received: from srv-rhsoft.rhsoft.net (Authenticated sender: h.reindl@thelounge.net) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3xtzL0379HzXMb for ; Fri, 15 Sep 2017 17:08:08 +0200 (CEST) To: internals@lists.php.net References: <752eaf1d-5603-70f5-8e69-b8243547cad1@gmail.com> <320b3863-e36b-2ed4-543b-fcbd433b1c56@gmx.de> <57.CA.19300.69C9BB95@pb1.pair.com> <5fe274c1-36de-e650-fd2c-bc4f9caf36f3@rhsoft.net> <07.B0.19300.38AEBB95@pb1.pair.com> Message-ID: Date: Fri, 15 Sep 2017 17:08:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <07.B0.19300.38AEBB95@pb1.pair.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-CH Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecate and remove case-insensitive constants? From: lists@rhsoft.net ("lists@rhsoft.net") Am 15.09.2017 um 16:58 schrieb Tony Marston: > wrote in message news:5fe274c1-36de-e650-fd2c-bc4f9caf36f3@rhsoft.net... >> >> Am 15.09.2017 um 11:25 schrieb Tony Marston: >>> You are missing a third option - Microsoft languages are >>> case-preserving. This is where the IDE ensures that every use of a >>> word is automatically switched to the case used in its original >>> definition. This makes it impossible to use the same word with a >>> different case. >> >> a sane IDE for PHP does exactly the same for many many years if you >> don't insist to change it manually - when you manage that you >> functions are written all over your codebase with different >> uppercase/lowercase the problem is looking at you from a mirror every >> morning > > How many IDEs out there for PHP? What percentage of them support case > preserving? Zend Studio didn't when I used it. PHPEd doesn't i need to see one which don't make autocompletion with preserved case and if you don't use it because you like typos in general your fault again: it's no rocket science to throw at compile time deprecation warnings years before a final change is planned and so for sloppy legacy code you hav enot more to do than read your error logs after i switched every piece of code i write the last 15 years tpo strict-types, typhe-hints and return-types everywhere while also write a complete autotest suite you can't tell me it costs more time to fix such case warnings by read the log and it would take longer as all your discussions - so why don't you stop it?