Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107425 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 69105 invoked from network); 8 Oct 2019 20:37:06 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 8 Oct 2019 20:37:06 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 64B422D1FDF for ; Tue, 8 Oct 2019 11:19:32 -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,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-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) (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 11:19:31 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id 205so11274397pfw.2 for ; Tue, 08 Oct 2019 11:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0YrnrQIXs95UqSbYbRigiycmncpLSpns5pQ6am/4CR8=; b=EKfidjTcUaJj1Jx5p4NR/r+T9psPqX+wyexUDkbvW/x2oE2E+Hg/hTA7FR3W8xP/ij mg6VLChNh+/QWa4rEy1Qon2013cQe9OWxZlFlzsp0zj2fyMoKDK0S5IbVpzTlk/Onv0n F5nXByH75td3erJQokdea67BRjYvlZsACIZXskUK9FaZNVZHfT2qNV6g0joTeAi0cA9B Q0gtUG7sekNqC5xtW+UOYDDUiAQ70GtOL+trD7yK3mhf/6WrqH2akxPkgtUzFPiikMPB oezURr+t4KyjUVEfzEHvAM8gl6y98cX6+WQ051W03IIDxaWYI4Hbef9Mgfo9zW6Hz1s0 VwFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:autocrypt:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0YrnrQIXs95UqSbYbRigiycmncpLSpns5pQ6am/4CR8=; b=CFRTt4zTR+k1W8VZx2ssyQYY5bB0akgYLQvODqdr0DGpp/rI5nACr6D+2BT2w9Qjw6 7Suzzm8o3gjQsvM5mOHNmsrpGm1MwE7LnYtHr5NCxsaHawbeADOhQF86Pq+VRKyeW9cp N5U2lBaZ3BpW9z83zXmX6YnxH7ZDiuh+7XhBhEfiOHF8ERztvnKSGw0gwjsgzumV1vWX nxQzeaYuQ42keT0ro9RRcXe7OyV/buWUHdwyemoec2CtFqZDQuO8xHNrEe8eILwxGN9/ ZGNU6S0E8F+vsp7lGgKQNFC1pWAV8r+Zyy4/sGFS6cLZPLF1zyUwSuTHwBVzUD8Goxn6 rbHg== X-Gm-Message-State: APjAAAWRTa7zN+o3GCeiNCZ0iIVP95v70nYHZQDSEgH36YQbOMDl8AcK gv6TsfDuDXlm0XUIMrfCO5YG48tK5A== X-Google-Smtp-Source: APXvYqwDC7p873iEGF25VhiSgxtcHTQsvEojv+IAGT7ApbM3mqYefAIRIupztU89ODNBKbcSwlJk5w== X-Received: by 2002:a17:90a:778a:: with SMTP id v10mr7516329pjk.142.1570558770011; Tue, 08 Oct 2019 11:19:30 -0700 (PDT) Received: from Stas-Mac.local (ec2-34-209-88-149.us-west-2.compute.amazonaws.com. [34.209.88.149]) by smtp.gmail.com with ESMTPSA id d69sm18845258pfd.175.2019.10.08.11.19.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Oct 2019 11:19:29 -0700 (PDT) To: internals@lists.php.net References: <5d976928.1c69fb81.db3a8.78daSMTPIN_ADDED_MISSING@mx.google.com> Autocrypt: addr=smalyshev@gmail.com; prefer-encrypt=mutual; keydata= xsJuBE9mqaARCACFSqcGmNunkjQQu3X+yXnTmFeEkvM4JXZTOBdR8aEevNGmmFEfyvjaDjWi 9hcwp4E/lYtC+P7VsVjM1OSX9eq0jC/lGL0ZyRXek+mNy0n5H1NSuTpf9Y18LMqhc4G+RU+L cNiZ9K0DJuOOvNLPxW7OHZguxb3wdKPXNVa2jyRfJAKm2uaJJMT1mTmFT9a0Q8SKr+mUrrJk uG0H2o6SzrKt8Wwoint1eh67zVsJaJtQFchnEZnlawIcqP2yC4nLGR3MkubowxoEBYCZet18 aHVVRbvpG2Qtob8Lu5xrsGbmXymTkHTdpvkfcJFADa8MzOL90zOxXwbGfbIZOlh5En8jAQCX lfnx2eQL3BSW/6XANa51dbWiEp1d1BAkpGKtZvlk0Qf+M9WAi+9aXMe3xP5krxtgnRNUf2WN 6Zdy2MxL1RRJCFbytLhl0ronC49BsGYVGshdEH8xhBbiIOJKuVZ/DTl9bEm7P9c7CC7iJyVC khUAhouH6xzZQNLR+RU+QebYzXypVfl99Qk7EdMmr/WAZCHLuvanyqepC5EBsa3VnAfQemSN oBeGBKWWLiOsPjvS72+y1z4RUMAfXHn4l/sFMt8zt7/74AmJPwZquV41p4mPO12V4+xPyc6R sB84sfsk2QVivU8w8AkvGQeYjXoz7Iwao95+fWteVzZ36KRQvUckP8pGjHlDXnHxJ0HI1I/k OBZSjwRwUf0dd73y6erPhbLk+gf+NdI3H9KGJBzG5/rVyWKwUeQ9d5ud4jTJRkQGvAP5pg76 vEa9dogbpe4W5Z+0BfbiJSnQmQWSHiZddj/t33ptbup44Ck6ZTgdlmFYMLF1hR47PIZTDKER EuKYGci/vq8snZvEJP9YCw/TtiHcMdrMKcY/+Lp8lQO0GHLPB9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jTjJhl28SlinMME54mK AGf2Ldr/dRwXwmEEGBEIAAkFAk9mqaACGwwACgkQL3lWvF2gS126EQD/VVd3FgjLKglClRQP zdfU847tqDK4zJjbmRv5vLLwoE0A+wbrQs7jVGU3NrS0AIl5vUmewpp2BKzSkepy23nWmejw Message-ID: <413d377a-4ce1-a521-0cb4-5bb37e84c257@gmail.com> Date: Tue, 8 Oct 2019 11:19:28 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Envelope-From: Subject: Re: [PHP-DEV] [RFC] Deprecate Backtick Operator (V2) From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > 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, No it's not. At least no more than anything else in life. There's always alternatives to do something. And PHP has always been a language where having a convenient way of doing something that already has an inconvenient way to do the same has always been welcomed. > 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, This is not true, the RFC itself states: Although the deprecation notice itself will carry no backwards compatibility changes, this RFC is written with the intent that the backtick operator would eventually be removed in a later version. Did you read that part and conclude *nobody* mentioned REMOVING? How did that work? > just DEPRECATING them. You don't HAVE to follow the deprecation with a You don't have to, but the intent of this RFC is specifically stated as such. Also, there's no reason to deprecate it either, for the same reasons. There's absolutely nothing wrong with it except "it could make somebody to look in the manual, potentially, so burn it with fire!" > least you're stopping the bleeding and (mostly) avoiding new code being There's no bleeding and nothing to avoid. > written that uses the legacy feature. Otherwise we'll have this discussion > again in 20 years, with the same outcome. It would be nice if we didn't, but unfortunately I suspect we will. Sigh. -- Stas Malyshev smalyshev@gmail.com