Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124540 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 8B78A1A00B7 for ; Sun, 21 Jul 2024 17:58:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1721584799; bh=OjgALX4Ei3aUrIAYMIKndCrQVwvj3ftvXy98W1Dmch8=; h=Date:From:To:Subject:In-Reply-To:References:From; b=PhJpw9N6RH0Ra90egF9wQLoymR4jnC/HjtByOX5x2hsrQXTz9wtYCa1IcSGzHkVtS jAirUoTf2zJMK24N4UkT2rMoMnE/YIFYb7kHz2sP2wdQCTg61lWKsCd5SQhEj9wKY5 stD4oWaIPoiVF3eGgDH8eJFRY7zLXFts/NuqzG0BFx/pGsMQ64RkmmZRlzYAXTW9hC WiIYzm7+0hD0rSB8Gup7colpkRcSsen09lwcBDSf8pB8IZGJOYKY3qe81JkJVhpr9F U8nHNwrP/o0FjItYi7u+6Gxo0zsDBy71K0W1cGL4arWXM2RPtTheI2vGFw2m8cRVRA phE5g5e/6EtwA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CF8E7180054 for ; Sun, 21 Jul 2024 17:59:58 +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, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh2-smtp.messagingengine.com (fhigh2-smtp.messagingengine.com [103.168.172.153]) (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 ; Sun, 21 Jul 2024 17:59:57 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 61C6711400B8 for ; Sun, 21 Jul 2024 13:58:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 21 Jul 2024 13:58:24 -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=1721584704; x=1721671104; bh=OjgALX4Ei3aUrIAYMIKndCrQVwvj3ftvXy98W1Dmch8=; b= oBoysNVfVamxEPDnezTwdnqVGF5c8L+jxlZSiTrIrVJcT6WvEe4o4Fuelg8oFoo8 bLv//WJtsrs/dskw2ymlp7wad5jliQrQNkrBZjf3wFtISRBVFIKmW9w0drmuxK5m T163y4yo5MLqeMWzUne72fvP0zcVyDZ99y16KUV94Lw44hGFJO1GdgKOp8+5rDlT njh6hb1izrgBU/XXqieVipf9KPs77uIparNmsdgE3fw5epM2TjhX6wc5VTcXh1DE GI3++hWJkjhzuwqpY/PT5t4BnJ2hxStrH/sSUtL6ReehZvXh6AdB8NSu6r5BLb/h JsIKOAUgY3TiOngRVt1GgA== 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=1721584704; x= 1721671104; bh=OjgALX4Ei3aUrIAYMIKndCrQVwvj3ftvXy98W1Dmch8=; b=l eqE3UwaJDjsfXDu2Qr1obg97AJ9KvuthNoCX4UMUPD9jOc+CdzuowtA3sG9cpmbL 4q/2NHE9C4YxcqCJHvrYaxy0FsdQXrwQCM+H8PyYBeXkv005fOhGhvQMz1T8tDEA I6l8oaJar7jwxEjtW2LQN+EojWnL4TB6YXuoOx82HaUD0wDtsdfaM6tOaLOyx1Ub cBhb9QqseSLnXcscBoVaMU9/zJGqJbY+ZPFIcc1o7B9jb69kuIPP7ohRvwr7qBiX DoTZ17M0UoV5C8FydFQWpGola/k/BfEinQq5d53I93Ag9pInwqNxwsfgletFFA9J sHCojJvhwP7OWujbiA34w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrheehgdduvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvufgfjghfkfggtgfgsehtqh hmtddtreejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhnshculgfkoffuohfrngdf uceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenucggtffrrghtthgvrhhnpe ehleffteeigfevudetfedugedtudevledugeeugeelheeihfehgfdtkeevvefgleenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehimhhsohhprd hphhhpsehrfigvtgdrtghordhukh X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 21 Jul 2024 13:58:23 -0400 (EDT) Date: Sun, 21 Jul 2024 18:58:13 +0100 To: internals@lists.php.net Subject: =?US-ASCII?Q?Re=3A_=5BPHP-DEV=5D_Request_for_opinions=3A_bug_vs_f?= =?US-ASCII?Q?eature_-_change_intokenization_of_yield_from?= User-Agent: K-9 Mail for Android In-Reply-To: References: <66984FD0.5090805@adviesenzo.nl> <6699F817.8070806@adviesenzo.nl> <9571bb82-9873-4319-9bd1-0361748335be@bastelstu.be> <669BDB00.70507@adviesenzo.nl> <669BE870.2050908@adviesenzo.nl> <86eef5d8-6ffc-45e0-8ed6-6201a414cfb7@bastelstu.be> <2C00EB00-0BA4-40F8-92A5-50B49A639AD6@rwec.co.uk> Message-ID: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 21 July 2024 17:45:27 BST, Deleu wrote: >I don't agree with the sentiment of "given the 2 options >available, we prefer the option where we know we are negatively impacting >community members consuming token_get_all() in favor of protecting >imaginary PHP users that would have been adventurous enough to make use o= f >comments between `yield` and `from`=2E" I understand what you're saying, but I think there are more than two group= s of people, and more than two options:=20 As well as users who have already made use of the feature, we are implicit= ly talking about users who will use it in future=2E If nobody ever wants to= use it, then it makes no difference if we revert or not, and no difference= if CodeSniffer can support it or not=2E If they do want to use it, and we = revert, they suffer=2E If they want to use it, and use CodeSniffer, then th= ey will suffer if CodeSniffer decides it cannot be sensibly handled=2E Bob'= s proposed alternative implementation *might* mean that these users get eve= rything they want (if JRF and others say they can consume that token stream= )=2E On the other hand, Bob's proposal affects a different set of users: those = whose code contains "parse from" *without* extra comments, which will now e= mit two tokens instead of one=2E They will suffer if tools are not updated = to handle this change=2E=20 Reverting now, and *later* implementing the feature a different way will i= mpact multiple of these groups, just at different times=2E Regards, Rowan Tommins [IMSoP]