Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124512 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 1DC221A00B7 for ; Sat, 20 Jul 2024 14:35:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1721486207; bh=nfbPj+9ISh/zDmQMOT/+/L6Kji8phbWC6wtue3Ede8U=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=LrA+eZ8CQ+wD1XDbFWYypqeuRsXAnVUzFCGlPpe0rn5rzGqCKlnRnG2FL9FQ2kjjD cb6/ViTmdUvuo7cag2jSJTwO8cD5hOvysIMmWRVVECrYamrxJyJimG/qxKGE+U+i/m uZ2kP4Qq9BQPjk1c4gU6I9sD/CQMCAVWrsl70qmWgY56xzFyk8fTmjxXGzuWWZChlk yGRcTUU7ETzsJfkFJlA5aA5DVLQtIIr05y+P/z6aidsnok+xurZhzTpmPd73DzxXjz 476OTJFbbSuj/HeTjnIZ6NPZo0xaD80L1JaO4VDi/mxgP+M9kNqeymRtmElhNjGmin HPcn2NLUl+yTQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F2BE418002E for ; Sat, 20 Jul 2024 14:36:46 +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_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (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 14:36:46 +0000 (UTC) Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-2cb0bd684bbso197105a91.0 for ; Sat, 20 Jul 2024 07:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721486113; x=1722090913; 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=MM0VClQRqb2Gh9jHXvmUy24XQzZn/gzhSXJ0arLKBOE=; b=MiIXiy7XUzRXJ6xwj/UD6ykY4Oii0WYCAP+NJczV5tOOVvWR+vz74o6lB/rqF9DbgG 7iNVMt+FWhWe1CQ9XY+XSDglzjBC7Xy8eY/aSQkW3QL4H0FLei0uH5S5IFBbU5t/U2gW WRcCWOuelLo/FQCNfj+a2FBosQ6EtdvNel4ZuojRifxEHHyUUVGWcwyjJbSBzbbkjBRu qlpKPw7RZmGtvw2Ur4fMqr5tpqSMBi97cxlmYkEmXYOhQojTwioZLVjxuT6A68Fn4ayT es99i13raUTXmB4NJmoTR54lP6UUT1LapE6A/WkLUNWyisMafuN2QSTCPVUPpsLAwOLP xiXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721486113; x=1722090913; 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=MM0VClQRqb2Gh9jHXvmUy24XQzZn/gzhSXJ0arLKBOE=; b=Ozf16v7lUGB68PqbL4/7S76T8FwZ2iNwSltcokdunCzt009Z+752OL+2Y0C7W8DCAg uRiF5+pWVPSase8UvuT8SjuzyG46wsg8pfY1a0LK9D1SZiHi2uUjfXOHlMOgX+7aI5Fy taJfsfIR6Kxmhb+VQc7GImN0QnQY+9JfNos27P4wxX99Z9dptxVIXLxJNnRSNZGrYxMb GNMAwKsQncdk3KSlgHSeKSMgxRbJATj/qEnRGPkwqT9Evf0KOC1yWPdWXCSzT8qJPXGt nDE375n8pH3r2REj3Blbnu2rMAVqrrfR6Eya4dt/GGK3l12RWspOLc+CK+v+m+qE/io8 mUGQ== X-Forwarded-Encrypted: i=1; AJvYcCX4+kkeRdy+/GuUCSHGQDlnBh4aaLlvFwylVfWgmhgWEPaXkB+7QMMNLNsXsGvK6Z6UdBk8YrYfK+haJ/9XqFWtWV2H3ouEug== X-Gm-Message-State: AOJu0YyP4dzjlgkaInGedEma1Ps+QxCZ3HuuTNb2LuU3em/oNT8St5to cgud+aaeO/GT6Sx2y2V7Is4wlWQ97zZ0e+6UHkQMmXTghDXeiKkDtMcGUNe8 X-Google-Smtp-Source: AGHT+IGrWJBu8wyMLm/Rukl3dJFqFWm3ae0td15IMSeS4D6ElZtgnKvWwGRqr2oAyM0dw4DiTzF1ow== X-Received: by 2002:a17:90b:20b:b0:2cb:4382:99f1 with SMTP id 98e67ed59e1d1-2cd16191fcdmr2229129a91.6.1721486113354; Sat, 20 Jul 2024 07:35:13 -0700 (PDT) Received: from smtpclient.apple ([2804:c88:cafe:c692:2c14:78fa:9f28:c215]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-79f0a5c863dsm2002614a12.6.2024.07.20.07.35.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Jul 2024 07:35:13 -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 intokenization of yield from Date: Sat, 20 Jul 2024 11:35:00 -0300 Message-ID: References: <237f2004-92dd-46e5-9946-91b8c8d97166@bastelstu.be> Cc: "Christoph M. Becker" , Juliette Reinders Folmer , PHP internals In-Reply-To: <237f2004-92dd-46e5-9946-91b8c8d97166@bastelstu.be> 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?=) > On 20 Jul 2024, at 11:30, Tim D=C3=BCsterhus wrote: >=20 > =EF=BB=BFHi >=20 >> On 7/19/24 00:51, Christoph M. Becker wrote: >> And frankly, how much code would be affected? I mean, does anybody >> actually put a comment between `yield` and `from`? Is there a case >> where this may make sense? "Because we can" isn't a strong argument, in >> my opinion. >=20 > I don't really follow this line of argumentation: >=20 > If folks do not use the syntax anyways, then we do not need to have this d= iscussion, because the tools can just ignore it existing. That also means we= do not need to revert the change in PHP. >=20 > If folks use the syntax, then reverting the change is a breaking change fo= r them. >=20 > So either the revert is not doing anything at all, or the revert is active= ly harmful. I do not see a situation where reverting the change is a value-a= dd. >=20 > Best regards > Tim D=C3=BCsterhus The value add of the revert is because time is a moving target. We don't thi= nk anyone is using it _yet_, given the circumstances that made this happen. W= ait long enough and the only guarantee we have is entropy.=