Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128981 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 A98681A00BC for ; Mon, 27 Oct 2025 16:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1761582383; bh=dIw/0cCzLNxKPbBErNKBGqvEZX82xLym+v3v2PY41Mc=; h=References:In-Reply-To:From:Date:Subject:To:From; b=IpzYRs//n6kzeUXPYbUAiPCwMSA15cybD3SI3GbQJJ/8/CZ6OS2MjHTu78WeieAo1 fP8Atoulg+W5qOQuRmeMSCr62NxuvczJX2++rWBFleyryQIe80xrixZtJP06ZVxn7/ /ZIPqsZ1eVJ6mV58mdpJTA6aEFzXIEBa04GVumiopnvNhV6g43lxrsHmgAj5gnNfU6 i4D+gEE+EIG0A5fMU33lpuN1y6Jgqar+L4kgPobBwhYlL4gbQADG4Ewz/qE0axXrbx 3rZ9YHPY7uuHMEtiUjgG13o6Yud3AQ2O8MmeMR0uEiSZx+iOXk1Evi0NCr+8LsNaln Ul58IdQZuiXsg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DB98A1801E8 for ; Mon, 27 Oct 2025 16:26:21 +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_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (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, 27 Oct 2025 16:26:21 +0000 (UTC) Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-7c5308f6aedso1859172a34.1 for ; Mon, 27 Oct 2025 09:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761582375; x=1762187175; 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=5hZRw3G470ByA9nl5frHI6olTVzgb9D3srjSPJ34+3E=; b=WpTlXV+BOXypo3Fl3jJF99GJ8DhO4c/Qi4fgw8Wd920r8q8s07zK/qUcEfmDYPsGaZ t6WZe+T99hqGLoHOWnRvkRLk8/tPkKN8WlKp1aNIIrFupVVaLcR6+dIP2iuyNmg6q4yg t0sI5wVY0VTHbF76V8olbBylpXWMWiBlGR9vggIexjYLtmNYmYtqRr1sQbzTFMLvZ/rA vSoLrZUGokXVT+2j6lxToWIPBLlXfZO+AhpDQMcqyiYj45Cj/PqEj5OD5khtTQfWhttN BT+GEvxlvRMqbBIvJ0GNFOJBkGp5TCeyHJ+TN5pFGHbww8F8v2cLOisgq0xKU/U7kHQ2 999g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761582375; x=1762187175; h=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=5hZRw3G470ByA9nl5frHI6olTVzgb9D3srjSPJ34+3E=; b=fpqTxmr08ikgc1PMz8lWP4sKleoup2YVe6XVpuP/6jUXFPSsIibYMcytJ2D+UjXedr 9FXwIYEG2g7PELT3m8Ev7jawq1w29SIuC8GoXhZa2587Z1pDSicf+FjyzJXNkfIzDlSk X5grC+9jtP8eNKtexI1joHzpZQpRej5SnfL4aKPoEU7OZwyEkFqhZtljXa6oMr5hvtzl 3WTLm1OhSjYGIyrw6QGFuXvJZd4/1hX+8cAh9ZLK14aLeRHuVX9lb1AEvLWTQAuPX5uO /sPX+asc+VcUmbbDoVlVy3xBrzFDMXavw1dKv8P7I3EbnOa3CVXCg+25Wv+RK669YFy/ f5fQ== X-Gm-Message-State: AOJu0YwmXmBhy31RPjzAkjM2sArojbaQecHG/HbpNvDFjs3/v1nzA6Ds WBBLMpzUKp1lT10xjleJ/8nC4PKKY8Ay/KTgD9/R8lctEcoP+um7Gy0UavGy/88FaQEn/PXCzD+ OYktooktSC0af0u813J8gbZ7NwOceVFC6S0fXEtc= X-Gm-Gg: ASbGncui/jjVHLHf5a1Up3po5WdFNTZ7dG6TW0chPhd/rdDjpmoqAPlIc8SinMfprjL z2toUsa+F094oTf71Ldy9pXO2Oy00iUFSbCRV6ZLqjkgW4/LwwmU10p2iUUt19qlEYAac6JN8e8 aOgXLiLgCJiKOjCjZe8Lhy6AUK4sjimQDgvMD8/KCVMdwhS0z9pc421fopf2LrmAP4pxVgectcW 9Ob21wCmU7pC9T69VRxI7YflgFgo6Bb9mqVpO+s9P299X7/dZSz9ipMXQmXlks0Bf3b9HE= X-Google-Smtp-Source: AGHT+IHcZjUVWCCoaCoX7SBklwY9AQZ2KlWobmUvYLyNbUzuSl+pH/AgQTbNsBSJemz9GS2Fnq7UECCAb/E7URQUYEc= X-Received: by 2002:a05:690c:5688:b0:784:8153:c5fd with SMTP id 00721157ae682-78617fb53a6mr4359747b3.46.1761581904094; Mon, 27 Oct 2025 09:18:24 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <889d3042-7b3e-4152-bd8c-09bbcc967309@app.fastmail.com> In-Reply-To: <889d3042-7b3e-4152-bd8c-09bbcc967309@app.fastmail.com> Date: Mon, 27 Oct 2025 18:18:04 +0200 X-Gm-Features: AWmQ_bkVMF-2TP6VC9riN_yLojki5z2cQ8gdhRKyAH_j3LH7QSljDpDDQGSSAIg Message-ID: Subject: Re: [PHP-DEV] Re: PHP True Async RFC Stage 4 To: php internals Content-Type: multipart/alternative; boundary="000000000000a2ebbd0642263f99" From: drealecs@gmail.com (=?UTF-8?Q?Alexandru_P=C4=83tr=C4=83nescu?=) --000000000000a2ebbd0642263f99 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > > > On Mon, Oct 27, 2025 at 6:05=E2=80=AFPM Larry Garfield > wrote: > >> On Mon, Oct 27, 2025, at 7:08 AM, Edmond Dantes wrote: >> > Hello all. >> > >> > ### Current work and discussion plan for this RFC >> > >> > 1. By the end of this week, the proposed changes at >> > >> > [ >> https://github.com/true-async/php-true-async-rfc/issues](https://github.= com/true-async/php-true-async-rfc/issues) >> > will be accepted if no objections are raised. >> > >> > 2. After that, the RFC document will be updated, and a new **2-week >> > discussion period** will begin. >> > >> > 3. After the new changes are accepted, the RFC will be updated again, >> > and the process will repeat. >> > >> > The discussion will be extended as long as necessary, including at the >> > request of the participants. >> > >> > --- >> > With best regards, >> > Ed >> >> I am not sure how feasible this is, but would there be a way to split th= e >> "async toggle" of IO operations off to its own PR/RFC? To me, that is b= y >> far the most important part of this RFC as that's the biggest blocker fo= r >> wider async adoption, but I'm not sure how many layers are needed above = it >> to make it possible to toggle in a safe fashion. >> > > Hi! > > Can you clarify what you mean by "async toggle"? > Is it the actual implementation that would use async constructs if the > current context is a coroutine for each implementation of IO functions? > Yes, for that, it would be nice to have separate PRs, even multiple ones > for easier review. But maybe you mean something else... > > -- > Alex > --000000000000a2ebbd0642263f99 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Oct 27, 2025 = at 6:05=E2=80=AFPM Larry Garfield <larry@garfieldtech.com> wrote:
On Mon, Oct 27, 2025, at 7:08 AM, Edmond Dantes = wrote:
> Hello all.
>
> ### Current work and discussion p= lan for this RFC
>
> 1. By the end of this week, the proposed c= hanges at
>=C2=A0 =C2=A0
> [https://github.com/t= rue-async/php-true-async-rfc/issues](https://github.com/true-async/php-true= -async-rfc/issues)
>=C2=A0 =C2=A0 will be accepted if no objectio= ns are raised.
>
> 2. After that, the RFC document will be upda= ted, and a new **2-week
> discussion period** will begin.
>
= > 3. After the new changes are accepted, the RFC will be updated again,<= br>> and the process will repeat.
>
> The discussion will be= extended as long as necessary, including at the
> request of the par= ticipants.
>
> ---
> With best regards,
> Ed
I am not sure how feasible this is, but would there be a way to split the = "async toggle" of IO operations off to its own PR/RFC?=C2=A0 To m= e, that is by far the most important part of this RFC as that's the big= gest blocker for wider async adoption, but I'm not sure how many layers= are needed above it to make it possible to toggle in a safe fashion.

Hi!

Can you clarify= what you mean by "async toggle"?
Is it the actual impl= ementation that would use async constructs if the current context=C2=A0is a= coroutine for each implementation=C2=A0of IO functions?
Yes, for= that, it would be nice to have separate PRs, even multiple ones for easier= review. But maybe you mean something else...
=C2=A0
--= =C2=A0
Alex
--000000000000a2ebbd0642263f99--