Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123217 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 B55671A009C for ; Fri, 26 Apr 2024 12:42:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1714135411; bh=PPHv2r4HzqVPR0COD1yzDkZinztZ4cZSbEGB8g+xQBE=; h=From:Subject:Date:References:In-Reply-To:To:From; b=E12Qr7oj5XtsBvKhlwlO9MNj4rIwnkCnCCsS6pRo3Fxdk2BwkpDodKKxMOFRE7UR4 s3DrpNjxnAe0KbAW1cIOFPbU2hA6QEclPrOXhey5lOJhz1WW09/VqzCRVjo7Sd1s20 +uJfyVS918FHS9bznat64GeEwsbJWo7urpq5zTuFvgAK+qduP9VyPMQ9epNCpuTKoM kGvPoTA8iOC6qKylavhh2MgS/yjLQC53bX/MeP2+n27J4ykg0w9ipDSZWaZXdyRibd d+CBonRTo6226kA6axodM6fL1ns88ZuRL06Qf28cDeAXzG8CLaWWo3hky2E7iprvsX uTfvsVUrIHBXA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0E5901805C6 for ; Fri, 26 Apr 2024 12:43:30 +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.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_NONE,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 mail1.25mail.st (mail1.25mail.st [206.123.115.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 26 Apr 2024 12:43:29 +0000 (UTC) Received: from smtpclient.apple (unknown [1.124.222.84]) by mail1.25mail.st (Postfix) with ESMTPSA id EBC5D60458; Fri, 26 Apr 2024 12:42:41 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (1.0) Subject: Re: [PHP-DEV] [RFC] [Discussion] #[\Deprecated] attribute again v1.3 Date: Fri, 26 Apr 2024 22:12:29 +0930 Message-ID: References: In-Reply-To: To: internals@lists.php.net, "Rowan Tommins [IMSoP]" X-Mailer: iPhone Mail (21E236) From: php-lists@koalephant.com (Stephen Reay) Sent from my iPhone > On 26 Apr 2024, at 22:06, Rowan Tommins [IMSoP] wro= te: >=20 > =EF=BB=BF >=20 >> On 26 April 2024 09:40:57 BST, Mike Schinkel wrote:= >>=20 >> Given a lack of agreed definition for 'since' it appears you are using na= rrow assumptions about the meaning of 'since' that led you to view 'since' a= s useless. >=20 > I can't see any ambiguity in the definition: "This function has been depre= cated since version 7.2" seems a straightforward English sentence, meaning t= hat before 7.2 it wasn't deprecated, and from that version onward it is. >=20 > If there's some alternative reading of it, it's not that I'm assuming it d= oesn't apply, it's that I'm completely unaware of what it might be. >=20 > Regards, > Rowan Tommins > [IMSoP] >=20 I'd even go so far as to suggest that "since" is so commonly understood that= we don't need the "This function has been " and "version " parts, and could= simply write: `#[Deprecated(since: '7.2')]` and have it be understood by hu= mans and tooling alike.=20=