Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107410 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 58121 invoked from network); 8 Oct 2019 11:26:57 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 8 Oct 2019 11:26:57 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 87CC22C0464 for ; Tue, 8 Oct 2019 02:09:18 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Virus: No Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Tue, 8 Oct 2019 02:09:18 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id w12so34809937iol.11 for ; Tue, 08 Oct 2019 02:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WD0E8dRNr03BE/3C4N0v5tDBQdFCRVGl7zfORe3w4JE=; b=LeGGbALsZh6/GHGCOM0QPDqaOlLpztn/cvx0hnAgn7yNMjv96te2DM5PMLUhtJd1Z+ aaM2J+ubEIiL/GfZ/JTOWLW/Yl/yvjL14jBcHkBI8EUM0mG6gzTgNb7Lm5Ss/az4XDjj 6nHWg8lYog12Aos8pqx/yLmwq3NAza7XcQu8abHb/UBhUJiO/1UZPho3sMs9iOedzluF Qc3gxPF7a7kHlImVYQlKMdhYdYTKcOESNa+0eIy2lRn5UWtd03myEatcfoLu/LPg57Op kL2jsY8Acdp7JAEHfbO/loSHcxcFCVEOnfCWrHiPsVwvBZOEWZpDY2DViSzDi/ofUg91 o3BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WD0E8dRNr03BE/3C4N0v5tDBQdFCRVGl7zfORe3w4JE=; b=uaRwN/3CjvrizdeIxEnKZS1pYVjz6hKW5K5GVjWNfDEPIfg5iKoXjSyV1KCg8QX7oI fJ25i8sVSVaLF0dE29kB+Ds2Sx4HpVhcR3UEv++guRq9y/4VGyXQa/EZv43WyPJ9xvN9 DYNq0Ud7aM12EWPoOznvXp9+09IwXqs/WptiWKZqvemhog5xGui+olSSLaoR1u+FYqET m6px3fojipuU3DvoU3v+v0SZEn2jIA00I6z2Mmd244oU5QZ2InjJRR+HMU9fwMpZe3me Ub4Ak10sJH+DiIQMsBeHjpHfsholjd6lpjBKPzrsjEidG/6R6vxk9szrOG9VFGER0OK/ IO6g== X-Gm-Message-State: APjAAAXPu8mx0Ky8Sa3nMCFUo7hD/IqFXBxKx9QLqgiQ5V5e7p3HEL9n 6rJ5YneBeX89A7mjtJaitIhHwjrFwjjydsjrdi6mqNnQ3W8= X-Google-Smtp-Source: APXvYqxmvpYLSTtB0+xlzPGxB6RsmIYgu00xVjgfWF4rt+buLxotgeoQ5tvvelvJ10WzHXB6eym7e4rEJZWm8YrUNs8= X-Received: by 2002:a02:7810:: with SMTP id p16mr31087700jac.55.1570525757199; Tue, 08 Oct 2019 02:09:17 -0700 (PDT) MIME-Version: 1.0 References: <5d976928.1c69fb81.db3a8.78daSMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: Date: Tue, 8 Oct 2019 11:09:06 +0200 Message-ID: To: Lester Caine Cc: PHP Internals Content-Type: multipart/alternative; boundary="000000000000de5ab70594628504" X-Envelope-From: Subject: Re: [PHP-DEV] [RFC] Deprecate Backtick Operator (V2) From: benjamin.morel@gmail.com (Benjamin Morel) --000000000000de5ab70594628504 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > Which is why ANY unnecessary changes that need to be made as a > result are just painful often without ANY gain what so ever on either side? One gain that's very often overlooked on this list, is teaching a better PHP to new generations. It IS confusing if PHP has more than one way to do one thing, and if one of them is considered better than the other nowadays, the other should be deprecated so that NEW code doesn't use it. Unless I missed something, nobody in this thread has mentioned REMOVING backticks, just DEPRECATING them. You don't HAVE to follow the deprecation with a removal, at least not in a near future. But by deprecating the feature, at least you're stopping the bleeding and (mostly) avoiding new code being written that uses the legacy feature. Otherwise we'll have this discussion again in 20 years, with the same outcome. =E2=80=94 Benjamin On Tue, 8 Oct 2019 at 10:47, Lester Caine wrote: > On 08/10/2019 04:31, Theodore Brown wrote: > > In 8 of these, the backtick uses are exclusively in test files or other > > scripts not part of the library source code. Then there are 11 packages > > with one or two uses each, and only 2 packages with more than two > occurrences. > > > > Raw numbers: > https://gist.github.com/theodorejb/584f2a1e27e93fb5da2d9b0e8e7a0d34 > > The question that has to be asked here is how many legacy projects have > actually been moved to 'new' services like github, or even use code > management anyway. The vast majority of third party hosting is simply > based on isolated file management and even running clean-up tools are > not going to be easy. Especially where the original author who set up > the website is no longer around. While some hosts are maintaining the > old versions of PHP, more often these days the big players are buying up > small outfits and moving customers to new setups often without adequate > care. Which is why ANY unnecessary changes that need to be made as a > result are just painful often without ANY gain what so ever on either sid= e? > > -- > Lester Caine - G8HFL > ----------------------------- > Contact - https://lsces.uk/wiki/Contact > L.S.Caine Electronic Services - https://lsces.uk > Model Engineers Digital Workshop - https://medw.uk > Rainbow Digital Media - https://rainbowdigitalmedia.uk > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --000000000000de5ab70594628504--