Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129438 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 lists.php.net (Postfix) with ESMTPS id 2372B1ADBF5 for ; Mon, 24 Nov 2025 16:33:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1764001997; bh=xoyXhqN6iawUMJZ6xJugG6wOqzurJ5hujS2TgKg4GgA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=PLENLFNt/rxjCJMGaZT7DINo7ynJhbZexzA/kLxy2LKlh9tiOZEz0hXLEprjvAjV/ +/7WRwTraEJFyrZhp48PF0dz3iOeVGfTNYpdsYxBshYvbWgJY9B/tQi/TqztikIdFS XY54kbzMWj3U/EZ/PVuzFv13kDZ8Q+7LBtpa55xtCnumkQAuB0gkJRcVrSSeh1ayNi 3tctsUqKRW3DFTTqCqkoE38ai7R0d/3iRlxuC8U4MB93W0aj5XGlBMYUtIyMwgd4co o/0zEAyaTPfXxLna4tcaqVDMpKIJeEaC3LRQpvcEw/dAOC5pEj52TV1U0ecvBVQgaT ybpz6+pzVrvdA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3C6CD1804C6 for ; Mon, 24 Nov 2025 16:33:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) (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 ; Mon, 24 Nov 2025 16:33:12 +0000 (UTC) Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 639C07A0059 for ; Mon, 24 Nov 2025 11:33:07 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Mon, 24 Nov 2025 11:33:07 -0500 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=1764001987; x=1764088387; bh=xeGYVGdQzaulxAcO3Nkwq6KdkN4+d6gyMMwBb8irVTc=; b= DPVfkXrKtr8we5+4cpKcQmG5qcE0jHq4fqJn7e0YIlmhvAzlVze/UNYeFQ4gp+wa PpyUkwhUrBLcE8KNvLKFDU7auVeohx6NLP+NOuGORX2aA+ZHMmlAJZlWhJr1yyRi Qe0pp2yD5RmH9aWlq1ZSEWbHLGawAq+XOAJJo+Ov3ASHC4vUnfIiZjwZJ9jpf70n Acvy37b94R+jeRE2/j6Lbtf2zGIikmPMnwiAcdxyEdJHzI3ciCVhdCS+V1qdpq/n 0U8fGVz69p7/UU0kO9UB9GQDN98/XMGz0QWOiFvrtxcn7DtPtyMciwM6GL/3Q7PM ipPOLc7kDqs57nJJNu3Lmg== 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-sender :x-me-sender:x-sasl-enc; s=fm3; t=1764001987; x=1764088387; bh=x eGYVGdQzaulxAcO3Nkwq6KdkN4+d6gyMMwBb8irVTc=; b=J8KSI8dMZNwrmI5ke 0z5xaAhSMqIF51vJMeezYsoKLd2BiCnN64YEmerlCnA6Qf8O3NC0LRA8RH+IbcwH PBvybiPgIhq8wDU5VtiCunLZQ0ELAR6YGySbzpgfyC4/13IcpT2gBT8TYW6jBwlA gIyO7ePvKE9bBNREptxr64kWVcYqvc1ri0+0HeLQ7j7h971Bemp64cTOcdQn9Y1n 3C5C6IOfOZoysy31aP0JKculhk+SZVLuiKph0hc5vWPXNC6QS6E105yFrWlRHfBK DZU0OKx4ckG4L2W18LxZugj3Xgve2YlVD4lhPeFWr1ohQJsKxIBY/sCBykgYYZww 89vWw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvfeeltdelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertd dtvdejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhnshculgfkoffuohfrngdfuceo ihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenucggtffrrghtthgvrhhnpeffke evudffuddvheejvdefkeelfedtudegfeehjeduheegieduffeggeegveefheenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehimhhsohhprdhphh hpsehrfigvtgdrtghordhukhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphho uhhtpdhrtghpthhtohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 24 Nov 2025 11:33:06 -0500 (EST) Message-ID: <55149f3e-7ec7-4479-bd6d-2e7fe1b8edef@rwec.co.uk> Date: Mon, 24 Nov 2025 16:33:05 +0000 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [VOTE] True Async RFC 1.6 To: internals@lists.php.net References: <980296152.1071.1763813573083@email.ionos.de> <92865666.4510.1763818506332@email.ionos.de> <329450798.8037.1763822426377@email.ionos.de> <9287c46c-bc63-4dd0-9792-0f9421959589@rwec.co.uk> <65869feb-d518-4de3-8c10-115e3ba7dce7@rwec.co.uk> Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 24/11/2025 16:06, Edmond Dantes wrote: > Then, if SDK Susie’s code creates a coroutine and uses LoggerInterface > inside it… > > 1. …an error will occur. > 2. …an error will occur. > 3. PHP will not allow the same LoggerInterface object to be used in > different coroutines without changes to the code. An error will occur for whom? SDK Susie when unit testing her library? Or Legacy Les when he tries to run his working code with the new library? If it is an error for SDK Susie, what is her solution to allow users to pass in a logger to her library? If it is an error for Legacy Les, how does he fix it? Does he have to audit his entire 20-year-old application for cases which might cause an error he doesn't understand? -- Rowan Tommins [IMSoP]