Re: Request for opinions: bug vs feature - change in tokenization of yield from

From: Date: Thu, 18 Jul 2024 19:05:37 +0000
Subject: Re: Request for opinions: bug vs feature - change in tokenization of yield from
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi

On 7/18/24 19:48, Marco Aurélio Deleu wrote:
Forcing all tooling that uses token_get_all() to handle this unintentional change seems to generate more unnecessary and real busywork for something only theoretical possible to break.
The tools are required to handle this either way, because there are released version with this specific tokenization and they are not going away. Ubuntu 24.04 LTS ships with PHP 8.3.6 and generally Ubuntu backports security fixes instead of upgrading to newer patch versions. As an example, Ubuntu 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). Thus the ship has effectively sailed due to the inclusion in Ubuntu 24.04 LTS as the arguably most widely used Linux distro. Best regards Tim Düsterhus

Thread (32 messages)

« previous php.internals (#124492) next »