Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124496 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 B1CB41ADD10 for ; Thu, 18 Jul 2024 19:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1721330772; bh=YnM9VtqiUZFuD2CTvxNEG6jZGjbXKC8n31WvxZ2ONyQ=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=BGsfm9is/TCCoapkfhwQi1jbRLoLoCEu3Kq8tktforrGnKohkM5O7jQWwUf7MotTb oTq8OAjwAHVYmS6hqh3jMeKzmNKPMDWqnWd+/4PlzyarYDWa3FkEHuOzErmJz2xiz9 arK+zKqeMxySLuvoC5iM/rvW1s7lRGIruxwSmqCpWwEOCh/+yLnvFS3aZAyqhWuyZa VFiv7OOWvjf6NmlmZ2AaMoRgwXSzrErrIGBT/fXcNxywpWZb6vYdmnZ0TnehAa6aLQ tkqJ3l6lnt8CXTy1cxm82lHLnFOyCfDtYp5xhNOSo4GxV9OINFeUeNF7scBafMj0fY lHv5ZrN98K+8g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F1D22180781 for ; Thu, 18 Jul 2024 19:26:09 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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, 18 Jul 2024 19:26:07 +0000 (UTC) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1fc4b03fca0so1093745ad.3 for ; Thu, 18 Jul 2024 12:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721330675; x=1721935475; darn=lists.php.net; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=YnM9VtqiUZFuD2CTvxNEG6jZGjbXKC8n31WvxZ2ONyQ=; b=ckMQaHF6JXJpwFCU/ZQW2QtFvfZkDh+X0X9kU+1vr0tBjkR5AT0DKfQDxkYXEP6kQq G2G0vktCiXFAU8MdtM83PrBLO0ObvgoU0Ws6H3W9B1f+zybGNYWmpOWby9ESxaHn2azj jmyoow0/fkZBV2oaoFokDkuh/tlANBj1LOSbC8qcIZcKgOt3vRpfi5f0JYYLNCiHLrWE OfD/Q8NFjFYksFOgdR5tKgPJ8AHExPXMPtmQtI8/n9iUB9U5eKeeHYwrhjobXV0o/1n1 f4wNA88pYBrrn7RRE75r4TAJ0+hOvTs3CiuxGFOlouM1SOLW7UguCQPs51F0txFRNOSP 0iuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721330675; x=1721935475; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YnM9VtqiUZFuD2CTvxNEG6jZGjbXKC8n31WvxZ2ONyQ=; b=UfP79BCmFmX8bMx9WIHnI7vR6E+ZM+LQNcUYT/n0/spGp03lYWbrWxI7W93s38M5RV YkOVGIV3t/Y+1So0R35gpt+nZ65DC7wkBTkvuOsoQgspmDbRWFouIhmaunphUlozyk8L e+5gmK3ryQN3TeYpgDYw1g8D2gE62GvZo5JdtHsMjJPVJHu8e4ier0TSPE4WJfsy5Bm/ rDvz3iLKCDqzRJ+GIxjdKEDSmUe7UR8V/qHLkLsCfc607QNUY9t9+gaYz3Zac9uzgzI5 LlW9mzvHKyn1bZu4A2Myj6/VxNJfQV4gLSeiEjxTPy4E4DvzTRi5bc2dQPEa2tDTrnaB fAYA== X-Forwarded-Encrypted: i=1; AJvYcCVzQ5i/z+f7aerWcq25f3SyO9OnliSSuyWZWFq+KKVYHTfDSUD1fP6KvtaecOoNKNYKlRWsJvZkq0p2Fzpi5R9L6jXYeXCZ5g== X-Gm-Message-State: AOJu0Yz+H6kvo8z+h39dBOiCaPb6YHJXYKRpk2abmgij1BsDIrip2xoZ 5JUfmMe/NATVF7rw5Hwie4LVQ0uKosdr/GVWq3z6mzxSP1lXSd+Aqhd0XQ== X-Google-Smtp-Source: AGHT+IEHl874uofcSMzHMXkJR0IwK5mDV0FdeBuc6EX3VD2RSbDcC8XTXwMWtZHGMhtciEZiEgcz+w== X-Received: by 2002:a17:903:2448:b0:1f9:b35f:65dc with SMTP id d9443c01a7336-1fd5ed0d2b9mr3852585ad.6.1721330675445; Thu, 18 Jul 2024 12:24:35 -0700 (PDT) Received: from smtpclient.apple ([2804:18:105:c100:d876:d45d:e871:6335]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fc0bc4563asm96982935ad.252.2024.07.18.12.24.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Jul 2024 12:24:35 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (1.0) Subject: Re: [PHP-DEV] Request for opinions: bug vs feature - change in tokenization of yield from Date: Thu, 18 Jul 2024 16:24:22 -0300 Message-ID: <50659A48-36DE-487D-9976-EC4B409627B1@gmail.com> References: Cc: Juliette Reinders Folmer , PHP internals In-Reply-To: To: =?utf-8?Q?Tim_D=C3=BCsterhus?= X-Mailer: iPhone Mail (21F90) From: deleugyn@gmail.com (=?utf-8?Q?Marco_Aur=C3=A9lio_Deleu?=) I can't speak for Juliette's plans but I would advocate for pinning PHP 8.3.= {fixed} on Composer and having an error message for PHAR. It's also worth me= ntioning that just because it's possible to add comments in those versions d= oesn't mean we must assume that it wi be done and it must be supported. If a= Ubuntu LTS user gets an error, pointing out that they're relying on an acci= dental behavior only present in 9 patch releases of the entire PHP lifecycle= seems good enough. > On 18 Jul 2024, at 16:05, Tim D=C3=BCsterhus wrote: >=20 > =EF=BB=BFHi >=20 >> On 7/18/24 19:48, Marco Aur=C3=A9lio Deleu wrote: >> Forcing all tooling that uses token_get_all() to handle this unintentiona= l change seems to generate more unnecessary and real busywork for something o= nly theoretical possible to break. >=20 > The tools are required to handle this either way, because there are releas= ed version with this specific tokenization and they are not going away. >=20 > Ubuntu 24.04 LTS ships with PHP 8.3.6 and generally Ubuntu backports secur= ity fixes instead of upgrading to newer patch versions. As an example, Ubunt= u 22.04 LTS ships with PHP 8.1.2 + security fixes, not with 8.1.29 (which is= the newest 8.1.x as of now). >=20 > Thus the ship has effectively sailed due to the inclusion in Ubuntu 24.04 L= TS as the arguably most widely used Linux distro. >=20 > Best regards > Tim D=C3=BCsterhus