Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129220 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 CB65F1A00BC for ; Thu, 13 Nov 2025 14:41:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1763044909; bh=F7OIeH8kwTJ3Uom/9bRMotpDHroA45HJGK29o9JgHl0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HO42HVXfKMAU4MxYibORw0o1Ta9g7K7mG3RvZ+GEuSaKsphcUYxZe7okhx816jdt0 2N5C3s0q6dUQdPzS5ew6sWp2nPb97+UCGw9gJpIspNgGFam1ySekuTyo2fXXQ69eOc jbRgz4VcXWkJkjMTuXPRgzmq1gQafRMA4zZ+g4JZS4A5V3Huy7KYuTA3jb+auUPigP iFYViQMU8AoglyZGYBPKNbs9/k+6r8dabQ2mT1L0lViERLSRckXsFGkQhkXfx1ASoz YqLIYBxyUSKcVk/xdBp5pKkA7q1GgmKUzTQgFdZN8Uxc8mbSy+LK0VPQi2RTKICgWI ZfOQpyz2n5/uw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CC2E318003E for ; Thu, 13 Nov 2025 14:41:48 +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_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-oo1-f46.google.com (mail-oo1-f46.google.com [209.85.161.46]) (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 ; Thu, 13 Nov 2025 14:41:38 +0000 (UTC) Received: by mail-oo1-f46.google.com with SMTP id 006d021491bc7-6567a0d456bso389402eaf.1 for ; Thu, 13 Nov 2025 06:41:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763044893; x=1763649693; h=cc: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=F7OIeH8kwTJ3Uom/9bRMotpDHroA45HJGK29o9JgHl0=; b=MjJD1Klk5tK50YrRjKZ/iA/t9Z/eVXcb3DAYNj8x603bpSmeJqkxuYDx28XweSEBqV edeFxLRM+Fr5pvhZmmKmkqqJc4bz3wbCF6a0yGTcrewlPZNJaFN2xjToqbkWq09ezU3W 6A81NHiRcWZzrWsliwzFKyD0Rfz5uadDe+rra/+1eIJgHv9+XlBTR+6gyX2sY4iOCyZ8 i0UTJ9Jba0/aFR+A1rRONFaqV9AykXH9t6uWHK5doBKP6LSGYl+HIsD4c73Bqhd1CuNw tt7ip4QuAtEGQgs/bMvkP+gfvERdp0Uf80cmCjro6avLvewgs1TBo4h1vvEJ0/H6g0OK R1tg== X-Gm-Message-State: AOJu0YyOAyX0ihthUnFRWUcPWh9cBl4G/x5zH3/YFEJXh947xyWNBs+R wA1cJz+HNmHIRnAzmj5KW9P9ZqSQVM+FwKTrzlcLe1z7I80KHxB3dANiJ97isVYwMxJApO3mKBg S15+Fw8TMJAQVfYpOaKFg+2B1DHyV62Y= X-Gm-Gg: ASbGnctsPw1O0adDoy2nMj6WDAxMqMeRzExOBHR6mJFXoAoU4bWeTrtNvO4CCa1z/fT HOC9iOi+zlpn0X3iIYk7TlNzxEI+aSzljemNxQQnIYWSSbSa+1FmD1F30s6cCUnmc4G+T3YZwd3 ZJNNwLFzicORYJqNozbnVS68COAaH3yBoc74faNYwZQ0NeInNzvf+WbnfwUP5qyWHJK9d28epYn ZbvUFOX+7ZlvtFvI1mVo0eMItdUNpU093lkfSjv82NPq+6YHy+IUBoYn5c= X-Google-Smtp-Source: AGHT+IGT0erSuU4e8krc8/7RgShtYN1Zj3LVPN4kZlre4tipgx2kajEyf8qhLxjq9MBcag6oTrh8tIBKWWGMCeZ7BYI= X-Received: by 2002:a05:6808:200f:b0:450:5db3:71ac with SMTP id 5614622812f47-45074659e65mr3674369b6e.57.1763044892767; Thu, 13 Nov 2025 06:41:32 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 13 Nov 2025 15:41:20 +0100 X-Gm-Features: AWmQ_bl5nUO77OKV5Gr_2L796DuiVZoO04iB-VWabDTXIe4spzmeV1dmw8j29NE Message-ID: Subject: [PHP-DEV] Re: PHP True Async RFC Stage 5 To: Edmond Dantes Cc: php internals , Larry Garfield Content-Type: multipart/alternative; boundary="0000000000008e7c9106437ae044" From: bukka@php.net (Jakub Zelenka) --0000000000008e7c9106437ae044 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Thu, Nov 13, 2025 at 11:44=E2=80=AFAM Edmond Dantes wrote: > Hello, Jakub. > > > It means there should be a PR implementing exactly what is in this RFC > (minimal stripped version of your current implementation) IMO. > > This RFC includes not only the API, but also the Scheduler, Reactor, > and non-blocking versions of PHP functions. Removing Scope from the > public classes doesn=E2=80=99t really change that. > Are you saying that some other implementation is needed as well? > > I think it would be good to see the implementation that can cover the currently proposed API and try to strip it as much as possible so it doesn't contain much more than that. We saw that PR for the async API was already quite big and we didn't really get any agreement there partially also because there was no user of that and it was not possible to have any tests for it (without writing them in C). So what I'm thinking is that if some minimal version that implements just this (e.g. reactor can be just dummy because there is no io atm. and other things can be stripped too), then the voters would get better idea what they are dealing with and could even try it out. Cheers Jakub --0000000000008e7c9106437ae044 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Thu, Nov 13, 2025 at 11:4= 4=E2=80=AFAM Edmond Dantes <edmon= d.ht@gmail.com> wrote:
Hello, Jakub.

> It means there should be a PR implementing exactly what is in this RFC= (minimal stripped version of your current implementation) IMO.

This RFC includes not only the API, but also the Scheduler, Reactor,
and non-blocking versions of PHP functions. Removing Scope from the
public classes doesn=E2=80=99t really change that.
Are you saying that some other implementation is needed as well?


I think it would be good to see the im= plementation that can cover the currently proposed API and try to strip it = as much as possible so it doesn't contain much more than that. We saw t= hat PR for the async API was already quite big and we didn't really get= any agreement there partially also because there was no user of that and i= t was not possible to have any tests for it (without writing them in C). So= what I'm thinking is that if some minimal version that implements just= this (e.g. reactor can be just dummy because there is no io atm. and other= things can be stripped too), then the voters would get better idea what th= ey are dealing with and could even try it out.

Che= ers

Jakub
--0000000000008e7c9106437ae044--