Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123210 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id D4F481A009C for ; Thu, 25 Apr 2024 15:28:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1714058958; bh=HiKD57PaWnGBL1clWYILgdygah5xCjpZX7SM48b3giY=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Ok9Zql1m4CgrPdfl3/l1aYrDN5HJwslL5xKQQ452LoSyxXc89JWtEXJqwVrehrM3I Z3l7IQsXeeeAHQFJy41vRksw5PkFxrOh27UI1BeO4Y5BSNHFLUOUKjDJnmsKh6m8cP smnLgf4TxeJpK0JDp80PnPn3hhtAY3Tv4bVkrAV1qoIi/7V3tGH87oGnJUREiGJsfC IXYxg1kAvVKuB+Hrjd2+dqrZVJrM585y1hgPTfuuV96y7N4GTbOwZs0QWMOTwimWGi 7OBW/VDsv+I0PpjB2lrj/Hy8ales6F/hcFAL00xRmEp7Xk76tCEDvDn/IYzpPMbL7Y 6OwGa36IneuCg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3B56B18005D for ; Thu, 25 Apr 2024 15:29:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from wfout2-smtp.messagingengine.com (wfout2-smtp.messagingengine.com [64.147.123.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 25 Apr 2024 15:29:14 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.west.internal (Postfix) with ESMTP id 9F4E31C000F1 for ; Thu, 25 Apr 2024 11:28:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 25 Apr 2024 11:28:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1714058911; x=1714145311; bh=JFP+UiIDe3yyYPcT0qQO7Fx5URqhC50nIJn1loNGRvA=; b= YMAfUAhtHaNxTQkEVDIWT8YRS3oChB3Jvgqmhi7EHFTJG2lPReHNGJKXjiRmfDAe BicAn1zS7ByiDG1sbDbsCYYCy7cM3MV2DQjzlXYXquLzYB5JBWCwelmSEMpKhxoD kXBt8q4PtuhAgfmVzw239SCj9mM3IieqvdsQJkswTLnSeyRrs8iwYsaNKJcyhH4N zcPZkUYevUD58/PrP9S5ZqSM6PUZ3ZWBXv5u4OkjCxuXub6H9bpnrUWArfRLJr/5 UvDACx+G+uJI8DtQCzEvY1ZgVNONZzVWRKd3Pmfbg9L2knJghjGPI26ciGFXxk4x LM0+xTDDm5aCOjv7bZMFhA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714058911; x= 1714145311; bh=JFP+UiIDe3yyYPcT0qQO7Fx5URqhC50nIJn1loNGRvA=; b=c ew9zEVPlhD6/5gsecPPBbkBqg94GhKeFh+O+0wdmoGViHimrjvojh0pxP/MT5T+P d0JvngubX2DmTt58y6qjlMXdJTRB1W/w1hMhSa0Y1g5ZsLaWFFiUxiaPux99kW/2 6Q4sjhOQQ5797xWP2IzjhwhC09ytfHF7tR5PyPdQqXyw0RzvNftgPzpfrqmB+5Wp wIDfyUDbdHMcMJX0PwPa56wdU/MwzXy1w8z1kiENNgFiP9tpKX2IuL1Xl3FyRSoG hPFo1UxEKEE2++IZzxTSqXPKBdyj1tvG8r4EUU7H3UsMHkCrwlEo/ROsTslyWuv6 psz9Y1W8mZYpZ69+69Ppw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudeljedgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtvdejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhnshculgfkoffuohfrngdf uceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenucggtffrrghtthgvrhhnpe ejkefghfeugffgtdeuheeggfdugefhudekjefhteegieejleehveelhfefvdfhudenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehimhhsohhprd hphhhpsehrfigvtgdrtghordhukh X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 25 Apr 2024 11:28:30 -0400 (EDT) Message-ID: Date: Thu, 25 Apr 2024 16:28:28 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] [Discussion] #[\Deprecated] attribute again v1.3 To: internals@lists.php.net References: <5814C522-CD23-4194-A344-1B57CC0A2511@rwec.co.uk> Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 25/04/2024 08:40, Stephen Reay wrote: > If you're on X.y and it says it was deprecated in X.w you know you > don't need to worry about it being removed until at least Y.a. Yeah, that's the reasoning given in the Rust discussion, but I don't find it convincing. If the project's deprecation policy is that deprecations will be removed in the next major version, the information is redundant: if you get the deprecation message in 2.x, you know it will be removed in 3.0 If the project has some other deprecation policy, like "after 1 full major version cycle", then you can work out that "since: 2.3" means removal in 4.0; but the person adding the attribute also knows that, and could save the reader some effort by writing "planned removal: 4.0" If the project has no clear deprecation policy, the information is useless anyway. > If you wanted it to be clearer I'd suggest maybe rename "since" to > "version", but that's more to give a hint at intended use than anything. I don't think there's anything *unclear* about "since", I just don't think it's very *useful*. But apparently it's common to write it, so I guess I'm in the minority. Naming it "version" would just make it less clear, and not resolve anything from my point of view. Regards, -- Rowan Tommins [IMSoP]