Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124523 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 D4F4E1A00B7 for ; Sat, 20 Jul 2024 18:15:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1721499402; bh=oCKYFi8F+EDJUuun5Vmx4G1T7usSL6qEn66x+ue1GZU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NT+Rh22pvyU519+MPm+XqiSXlGUKSSzrYT26MGzP0ZpoIbA0DcPBY0c5lxaf0WlUw PdUaqtO0QQ9B6rc01+6TtGQmeF10k6gjGCGHkReUCSfyoVMtxxqw2E0j/WARdKTywR AvXZ0YmsK8vrme01JUWdgqp5GdWX7Odwy7eG5tnpHmJZRb2+iQmHBbg3XXtjuKJkL/ t/5mvWUOf1EWwj2T97Lx0TuqNnf0d4190/v6kgC/jhGbyVtgSuZIJS/NnwzZQJzxho g9R0RgBiD2iO7sPboLZqyjrVjN5wCKNCiYmWmKB7yPG5UhngFTiC+PehkjAiLpiUB7 KwiuhLTKEzEFw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0FAB418003E for ; Sat, 20 Jul 2024 18:16:42 +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, HTML_MESSAGE,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-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) (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 ; Sat, 20 Jul 2024 18:16:41 +0000 (UTC) Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-6658c2df3d3so3137797b3.2 for ; Sat, 20 Jul 2024 11:15:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721499309; x=1722104109; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oCKYFi8F+EDJUuun5Vmx4G1T7usSL6qEn66x+ue1GZU=; b=NCQ+3ICOE14KX6nFgBnW2tqAZ485RGE+vrp89k/+zWWrhFYwHVVPFkGbc3X4h+lbNN UAfGAw00SReIv2sMczmZ7T13zN+K4p4tNsxwarRGANVYiqYJrNprFaZlaZZelzaIrEW+ MZhxJVNWI7rCixZPAz38jnke4oPYqI8wGaG+iLx6NRe/8t6Nkru9lZQeLW/okxz3f7tk WW4lnTIbbWsAr0tjyp5tN2wvGC9DeGmMOH6al+Pp8ywvjVllIuho5ZwXbV+idegNqmOh 6lslpZTjVfcoFURTxFTMSf7wilUsNhVqaEYVsgBDi3ELhPFen+Dfk528/Yxz6Be2jvdz m4xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721499309; x=1722104109; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oCKYFi8F+EDJUuun5Vmx4G1T7usSL6qEn66x+ue1GZU=; b=MAFHfI5K4QJmpidfKDI/6v7csdLWtFnzGVu08sObTHebF8G0PEX3VS+YUuqGcSHofN qaa8F0K7B5RgcU1c6vg+UPn5hA6s/oGjyoSrDFh1Ny466q6Qo+C+l9C3ARR/BFHsYmOG v+UU3KcRENkSq+qW2BOuo73Qt8mqWpRsvACBJn956mi6lspeU91q661f6OVvWYbUhx/2 bmaLN+9OOAg+D0znS2VTFMlKGJB3Lo3A+HN8J+bOMFe0zZv2v94ze0i/kOAHSbelSXlm CIrwRYQUB4U4PvrI66cDMpqXQUXwCovSVgoKfCCUOzpZ6OGlI3iIBnBexmPO1Um+6AXh nE3g== X-Forwarded-Encrypted: i=1; AJvYcCVGLEreyTnbv9/mr9lYukTSttYwPzp5iY6qU9rw6t/18z4MwYatG8brL6iSeWk4vqKRSoLRmbEP5wY=@lists.php.net X-Gm-Message-State: AOJu0YxbfjoJZ3eYNZn2FtYAzpy+CdC3ScIbfLbekBhcaygfkArlBAh8 fxBC19sVMz+UM/17yjaTnYsm8mZzAyrTB1ahWaPP0rTHUWZ+pioHYROWE4U1SROjd+BFOb9VKDJ RjiVr27jSmpEodg+PTcHRIKPV+Qi312si X-Google-Smtp-Source: AGHT+IFaDhGun/Xi4ApzpcJpQtkqsnquIiA1Yfo9q94D7I7GRroPZsYnI3Y8xgRDUxryAMN42FjNrZFYrTLvtU6GTCU= X-Received: by 2002:a05:690c:fc4:b0:61b:a73f:b233 with SMTP id 00721157ae682-66a6451a91fmr16374087b3.1.1721499308682; Sat, 20 Jul 2024 11:15:08 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <66984FD0.5090805@adviesenzo.nl> <6699F817.8070806@adviesenzo.nl> <9571bb82-9873-4319-9bd1-0361748335be@bastelstu.be> <669BDB00.70507@adviesenzo.nl> <669BE870.2050908@adviesenzo.nl> In-Reply-To: Date: Sat, 20 Jul 2024 15:14:32 -0300 Message-ID: Subject: Re: [PHP-DEV] Request for opinions: bug vs feature - change intokenization of yield from To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: Juliette Reinders Folmer , internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000c67b0f061db1cacb" From: deleugyn@gmail.com (Deleu) --000000000000c67b0f061db1cacb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jul 20, 2024 at 1:53=E2=80=AFPM Tim D=C3=BCsterhus wrote: > Hi > > On 7/20/24 18:40, Juliette Reinders Folmer wrote: > > Tim, you're making my point for me. This is *exactly* why the current > > change should be reverted. > > I am not sure how you read "PHP users have no idea what a token is" as > an argument in favor of reverting the change, because reverting the > change means that completely reasonable code suddenly stops working with > a parser error in a patch version and PHP users will rightfully come to > PHP's issue tracker to complain. > Is there any evidence that PHP users are relying on code that: - Was released just 7 months ago - Was not documented - Nobody knew about it until very recently And furthermore, why should undocumented, unintentional, unapproved change to PHP be supported? Even if a handful of folks come to PHP's issue tracker to complain, the answer is plain and simple: that behavior was not approved by PHP's RFC process, which is the only way to get a behavior change introduced into the language. Realistically, it's highly questionable that such hypothetical users would even show up. --=20 Marco Deleu --000000000000c67b0f061db1cacb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, Jul 20, 2024 at 1:53=E2=80=AF= PM Tim D=C3=BCsterhus <tim@bastelstu= .be> wrote:
Hi

On 7/20/24 18:40, Juliette Reinders Folmer wrote:
> Tim, you're making my point for me. This is *exactly* why the curr= ent
> change should be reverted.

I am not sure how you read "PHP users have no idea what a token is&quo= t; as
an argument in favor of reverting the change, because reverting the
change means that completely reasonable code suddenly stops working with a parser error in a patch version and PHP users will rightfully come to PHP's issue tracker to complain.

Is= there any evidence that PHP users are relying on code that:

=
- Was released just 7 months ago
- Was not documented<= /div>
- Nobody knew about it until very recently

And furthermore, why should undocumented, unintentional, unapproved chan= ge to PHP be supported? Even if a handful of folks come to PHP's=C2=A0i= ssue tracker to complain, the answer is plain and simple: that behavior was= not approved by PHP's RFC process, which is the only way to get a beha= vior change introduced into the language. Realistically, it's highly qu= estionable that such hypothetical users would even show up.


--
Marco Deleu
--000000000000c67b0f061db1cacb--