Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129456 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 7FF5E1A00BC for ; Tue, 25 Nov 2025 16:57:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1764089880; bh=bMJsJTUfWkE9Am6nGvas02UqqxnchOnRNj0v8nnp6uo=; h=References:In-Reply-To:From:Date:Subject:To:From; b=ULkAnwIRESzpWRlzxMIJZmS+6sr9qNWf2zVrADeM7c+BZQTBeS0IePchyiz1jCGY9 cH14VSoQRo+4iD/0bX/Ez0ImFWeTXV0wd/KTdvmmxGXjhXZS4j2jXQn1DO1MDIVdyn RSrZvIcqpjsBy5v9Q9jV9SZXsHkaJH2LWuaZY8m4KIdQBDxaUl69bOB5ZCGQqjLLnB uDVyh4ajuX1EzAElxDBgvujX47ocEA8DGVK6J4wRuUZDUXf1/yYF4D2MqRronD1V2W TsXfqwpzqvND28OpMJDaRNS6ZmmJdQX84Cxt0lWBLZVB1EDdrZ7ERLQe9QX9inBk1c MKJOFr1DMDjyw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8EE7A18007E for ; Tue, 25 Nov 2025 16:57:59 +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=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.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 ; Tue, 25 Nov 2025 16:57:59 +0000 (UTC) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-37b935df7bfso51861771fa.2 for ; Tue, 25 Nov 2025 08:57:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764089873; x=1764694673; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=J18qgwODSkpq35JqSm3NQDRdK7o35z6nL9ZVbR3CYs8=; b=Fqd8RKc6CLGEpxKwaO1lZq6Vb0i67ulVq/teNcNBO43OI16r4WT1Md1756gtUxu/c8 Tjmv0mcOjkFtEUb/nP8vhSa8B7wBwUCfy84N6Q/wAy0rRxwr1uck1Aqqw/ShXH+KYSyf IrOU1MnW8l4vGcYiM1PEz66CPSQ6xBhIT7E8iAFWrT9TivmIooh/vMf1/cU8uU8Nht+h GsEcHnPmqvwN7Ga8OKAtNivcAm7LnaPl1Ec2N6yQYfdDuyw28GAjEgWbxQ1Lbh6JjtiR s+/QgljxCbIHU2gz+M728PBHJZiwVQozPvoRMKJYLhQJrwKZPDFno66MADjT0kRoaxD8 APdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764089873; x=1764694673; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=J18qgwODSkpq35JqSm3NQDRdK7o35z6nL9ZVbR3CYs8=; b=KEU5bRvnXWyLIjW6yOu/8VRYbyiipSOpsesZzFT/MjZOYEiCUK8YwioXX0o/8TsJul 4u4D5LJ1HrOzWUAVApcFRDoNS7oAJ33nNVkE6BZyRcpJc5uTM01lgYz0YpKQXfNO4QNl fllijK1St1wCBj246bgwfFCs0FhJLOaxdDcQzrTo7k494bfS8swr1j0BwRGCY6mPQGXB Hm4AcYhWdLXclUYU7ySrbsdD1XVADSyETb+F+xhRWKbqjlrcv8sdtRqQEfgxZLJ5RegL rwdguV403aKkLon+14fXlnLVuucSIdHA2mCAe2ypeMO7B0fv9+w1HAoSreFFyqVGRG9k A39w== X-Gm-Message-State: AOJu0YzBdEa5szyFvKbGVhDmpU4+gYTJH2TUlGWM4AH5dQxxkaiP7QdS Jep4k/ciJ0ctreLQ/z8887oWAb2467mnVnDU6mjdfntykxLzlNPKuBSeqMNFppFDCqpYG7IbqGo /OYsRDGipXcowJB2PEJ/my38QWKKwf3NQdg== X-Gm-Gg: ASbGncsczxGfdGNrt5ntwZrVUgMUscfenhhJ5OiI2+xQxMdiEGAV4IrftRcL/8vZ4jT hOantN7oRv5tCRWETVh06+4C42qr3kUoLrypUfcB8iewWOvo5jpVVWoiHQsqyKTZ3aAZJvQvAyR kX3XV2m9+Ete4jXqSZ/r+0NgenqF3OrozK6KqGOJ2pMgZP9yQRplU4lAkXBU/Uo39fbm8L5cDFM cpJwA3lhsq+rUtcEO1e54/hzhmeKToedynFoUf1k7O929yyJ6VFoqW9BSauBBkh4mO6DTup5U5l 3p9dGPH0F5dim34mWN27y3wZwQ== X-Google-Smtp-Source: AGHT+IH5HPzm4KpUzQLciGxo8oOYNigf+a/U+FCcttMBUt/vRSRPjZcfToTzQWGoulFAqgKEl5AYRAWHs7M8sFUJz88= X-Received: by 2002:a05:651c:3247:20b0:37a:9558:5bda with SMTP id 38308e7fff4ca-37cd91b6887mr35789741fa.14.1764089872305; Tue, 25 Nov 2025 08:57:52 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <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> <55149f3e-7ec7-4479-bd6d-2e7fe1b8edef@rwec.co.uk> <19693420-c091-49b7-b557-e09717239d9b@rwec.co.uk> In-Reply-To: Date: Tue, 25 Nov 2025 11:57:41 -0500 X-Gm-Features: AWmQ_blHqreYQ-_zsWKPLlsx0pmbb3Epg95jibD75DDWO4Er3rs_KFZB4XjiGUw Message-ID: Subject: Re: [PHP-DEV] [VOTE] True Async RFC 1.6 To: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000030dbbe06446e2ee2" From: tendoaki@gmail.com (Michael Morris) --00000000000030dbbe06446e2ee2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Again, I'm of the opinion that this vote is premature and needs to be halted. Edmond had done extraordinary effort and proved that an async implementation is possible. And his solution may indeed be the route to go. But perhaps settle back and target this for 9.0 instead of 8.6, which will give whatever implementation is chosen freedom to make breaking changes should they be absolutely necessary. I'd also recommend an RFC to commit to having async in 9 in some form without committing to any specific implementation and set out the goals. I think passing that alone is significant. Furthermore, everyone remembers the PHP 6 debacle of committing to full unicode support and then discovering halfway into the process that such was a far bigger bear than realized. Edmond has explored the async problem space well enough I think that we can be sure that an implementation is possible. Rushing to commit in the first prototype though I feel is a mistake. Not that what I say has much weight - I'm a moron compared to most of you, but I try. On Tue, Nov 25, 2025 at 10:45=E2=80=AFAM Edmond Dantes wrote: > Hello > > > Anyway, it seems like we're coming to the conclusion that mixing sync > and async behavior is going to cause quite some problems and is something > that would not pass a vote if I had to guess. Even if you know what you'r= e > doing YMMV. > > The main question is how much code needs to be changed. > The example I gave with `file_put_contents` is a typical source of errors= . > It is easy to fix, but not always easy to detect. > > Maybe we can improve this situation. > This requires discussion. > --00000000000030dbbe06446e2ee2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Again, I'm of the opinion that this vote is premature = and needs to be halted.

Edmond had done extraordinary ef= fort and proved that an async implementation is possible. And his solution = may indeed be the route to go. But perhaps settle back and target this for = 9.0 instead of 8.6, which will give whatever=C2=A0implementation is chosen = freedom to make breaking changes should they be absolutely necessary. I'= ;d also recommend an RFC to commit to having async in 9 in some form withou= t committing to any specific implementation=C2=A0and set out the goals. I t= hink passing that alone is significant.

Furthermor= e, everyone remembers the PHP 6 debacle of committing=C2=A0to full unicode = support and then discovering halfway into the process that such was a far b= igger bear than realized.=C2=A0 Edmond has explored the async problem space= well enough I think that we can be sure that an implementation=C2=A0is pos= sible. Rushing to commit in the first prototype though I feel is a mistake.=

Not that what I say has much weight - I'm a m= oron compared to most of you, but I try.

On Tue,= Nov 25, 2025 at 10:45=E2=80=AFAM Edmond Dantes <edmond.ht@gmail.com> wrote:
Hello

> Anyway, it seems like we're coming to the conclusion that mixing s= ync and async behavior is going to cause quite some problems and is somethi= ng that would not pass a vote if I had to guess. Even if you know what you&= #39;re doing YMMV.

The main question is how much code needs to be changed.
The example I gave with `file_put_contents` is a typical source of errors.<= br> It is easy to fix, but not always easy to detect.

Maybe we can improve this situation.
This requires discussion.
--00000000000030dbbe06446e2ee2--