Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128977 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 67B7C1A00BC for ; Mon, 27 Oct 2025 14:01:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1761573721; bh=eJwKh5erPq5gAMyzTw7A2xtdf17eXDC5vT8uouZnvWs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=de/5UHwkUEWj8+WfkAqJkJaN4iBGIUc8G/JqLr4Xwbh+XoOmWkQgRP86DpTzGI4fL JJBGvKXLGMOI9GXkxyYpEDgi0ifiMui+Sn2EQxDYsGWPy/OoNmzsfRTZV+F6e752vq qHuy4N2B/7A6BFkVwZnaHTfQB36jZbWAlIHvQg0d4OSztbaAPn/5hjQpbbH1UslKAg Ai6KGzdyMIo+mfsJpFfDL1OAXM+ONWZt5As50bThSzlh9HwKu9jmvwrf6oH5jqSJ/f 7vFRigk+scOIX3KVW6deo+kIaBfsppBCD1kEOXdwXEuA8o5e5C4GtMGfpHvhmfShao WIXMbV/2yyZ8Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id EBBC9180057 for ; Mon, 27 Oct 2025 14:01: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=1.8 required=5.0 tests=BAYES_50,DMARC_NONE, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, 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-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (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 14:01:59 +0000 (UTC) Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-44da99d4d40so1133603b6e.2 for ; Mon, 27 Oct 2025 07:01:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761573714; x=1762178514; 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=eJwKh5erPq5gAMyzTw7A2xtdf17eXDC5vT8uouZnvWs=; b=CHt4GCHjJRwDsW13A5ai+pfCeIOv4DlMweHvooHL+fXvSSrzthgJEZPeIHIJbLCW1W o/5iPoakpfvKSVwCFlhcjkcbpkSMJasyhcThtJAPHralIozTl1sXiy1WxelX5CBOkB9s AWgmK8kVH0Uok+PTS6H9qmufjzDfCaX/g7PwSE3Y62uCjsFCPVqtEWO+mbMVspa8csGk RWR4K5Mlnq4IR+HdM+EngLIdkOoFQMs6gPxg1j6eo/REJub13xVbBiNuUWZa21Y+aqdW 92FxgBGkMsvA5r7j3JwR6rJJBLWn7bqgR5xopEy5j2TqN3A3oAlDBsSMpvuFp6NVZv82 FpkQ== X-Gm-Message-State: AOJu0YyutcNUWD9KJVMG+1/6wr+U2gg08d2a4m98veCPnGvUi1yeH3yS g7/N4Bajzmb+kmqNQUlprK05fLyekaKx082H6thYk9Dhi06+M6+p3wOnPZfvFi4h9AiZz/GUq8Z 8REdocgmMdjI1ClztEmeDXSfdYnQrQFY8Hrlh X-Gm-Gg: ASbGncusQ/lg0Ah7ehEPyKQYAN08oG4Ytvmsug3/MSKoaBN7UDhpp74XHu1ZtMMuu4R sO4q4I9wTIwp+pR06qhk/dTWazp0tkLBWAamZX0kjSuRxxfg3GtRR1GFG2bMNP61PbJXgCE9wAr 73whCjiu5OaEK6zIeEhMJqDNDUcg/X7vWpcLDQ3zWjR+qXPVCmzxDon91QEnMowItVT46ta1zRp 4ACaafBRiBypzmDyftnsMb5wMPFai4QFzhHRulqWCyiAXJDCVkssHtnz5D9Waxu2MbPsJoZBOer L1B5DDBsSdbAbnZ1u0KWP/Ffl9SxjA== X-Google-Smtp-Source: AGHT+IGPGm8JPw/R3oJoFhxS4QxEcCMPDlOmarnOmYre/6ahKuRD/X35I8lzMtKc18LCQs6rigXc4sLz6ToU0mMFunA= X-Received: by 2002:a05:6808:4fcc:b0:43f:75f0:3894 with SMTP id 5614622812f47-44d93de602bmr4701066b6e.22.1761573713391; Mon, 27 Oct 2025 07:01:53 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 27 Oct 2025 15:01:41 +0100 X-Gm-Features: AWmQ_bkRgHQDWCqfGPiir7M62ynF1RrdqHXCugRn2s-nhID1ad_Z5_y7Io_Dewk Message-ID: Subject: Re: [PHP-DEV] PHP True Async RFC Stage 4 To: Edmond Dantes Cc: php internals Content-Type: multipart/alternative; boundary="0000000000006eb6af06422457f0" From: bukka@php.net (Jakub Zelenka) --0000000000006eb6af06422457f0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Sun, Oct 5, 2025 at 7:26=E2=80=AFAM Edmond Dantes = wrote: > Good day, everyone. I hope you're doing well. > > I=E2=80=99m happy to present the fourth version of the RFC. It wasn=E2=80= =99t just me > who worked on it =E2=80=94 members of the PHP community contributed as we= ll. > Many thanks to everyone for your input! > > https://wiki.php.net/rfc/true_async I just re-read it again with all the feedback provided and I think it should get further stripped as it seems problematic to get an agreement on all of this and properly discuss it on ML all the details. I think this (or more v5) should strip the following: - exposing Scope and all operations in it. It means it should allow using only the default scope in this version. That should significantly reduce the size of the RFC as it removes structured concurrency and other parts related to scopes (including the reduction of error handling logic). - timer functions could also be removed even though it will make it less usable but the point is to make it as small as possible and those are not absolutely essential parts. - critical section should be stripped as well - nginx unit example should be removed as it might be confusing - I understand why it was added but it might be more confusing than useful - drop php.ini setting and just use default for now The idea is to make this as small as possible so this might be possible to discuss and get actually more people to read the RFC (this is just too long). This will also allow to concentrate on specific pieces like for example deciding whether to use FutureLike or Awaitable. We just had a chat about this work during our PHP Foundation and the agreement seems to be that this should be reduced and come in smaller pieces to be able to better figure out what's actually useful for PHP. Another point was also to make clear that this proposal is not meant to introduce a new "right" way to use PHP but it's actually useful everywhere. We actually discussed this with Edmond privately and agreed that this is useful for FPM as well and he even created an example proving it. So we should just try to make it clearer in the RFC as there was some confusion in the discussion. Kind regards, Jakub --0000000000006eb6af06422457f0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Sun, Oct 5, 2025 at 7:26=E2=80= =AFAM Edmond Dantes <edmond.ht@gmail.com> wrote:
Good day, everyone. I hope you're doing well.<= br>
I=E2=80=99m happy to present the fourth version of the RFC. It wasn=E2=80= =99t just me
who worked on it =E2=80=94 members of the PHP community contributed as well= .
Many thanks to everyone for your input!

https://wiki.php.net/rfc/true_async

I just re-read it again with all the feedback provided and I think= it should get further stripped as it seems problematic to get an agreement= on all of this and properly discuss it on ML all the details.
I think this (or more v5) should strip the following:

<= /div>
- exposing Scope and all operations in it. It means it should all= ow using only the default scope in this version. That should significantly = reduce the size of the RFC as it removes structured concurrency and other p= arts related to scopes (including the reduction of error handling logic).
- timer functions could also be removed even though it will make i= t less usable but the point is to make it as small as possible and those ar= e not absolutely essential parts.
- critical section should be st= ripped as well
- nginx unit example should be removed as it might= be confusing - I understand why it was added but it might be more confusin= g than useful
- drop php.ini setting and just use default for now=
=C2=A0
The idea is to make this as small as possible s= o this might be possible to discuss and get actually more people to read th= e RFC (this is just too long). This will also allow to concentrate on speci= fic pieces like for example deciding whether to use FutureLike or Awaitable= .

We just had a chat about this work during our PH= P Foundation and the agreement seems to be that this should be reduced and = come in smaller pieces to be able to better figure out what's actually = useful for PHP. Another point was also to make clear that this proposal is = not meant to introduce a new "right" way to use PHP but it's = actually useful everywhere. We actually discussed this with Edmond privatel= y and agreed that this is useful for FPM as well and he even created an exa= mple proving it. So we should just try to make it clearer in the RFC as the= re was some confusion in the discussion.

Kind rega= rds,

Jakub

--0000000000006eb6af06422457f0--