Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129247 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 A424D1A00C2 for ; Sat, 15 Nov 2025 22:03:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1763244193; bh=aNCZJnWBLBnrzxjxx+ArZjq4+fUZm0OfjMfbFmvjnSU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Ib2OArO7kMpTA7W5T2JPm962svvWOwwRVU/LIfoeVMVplJ8+ZQRmGIlWwJcz3e5Wa KC/IilXNJlTbLBxOrrEhpQhmmUY7DxIIaNINmZ1pJtmIDiEkgvAfG7Y86lSEWYmUN2 z9GCIZfOn7hN1fkosWZn6WED31QOKJIUhWuuJ3Oc6DdgfRFqQ6yNXzKBnvlXlGo5bq MW8vLhX6NYNl7wzRNg3w+XbUcUkbwUUSkzyhvv7XNT7tyR0/yQq6HQuDpNY4loTxCj RyDZ7aCd3VKhNVhkWQYbeIhUJCM4poj43sD8NVpLFl4br3wj3p5xuAMxOaNJv6QuT9 5+yaDXhzie2+A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AD90B18057E for ; Sat, 15 Nov 2025 22:03:11 +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, 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-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.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 ; Sat, 15 Nov 2025 22:02:58 +0000 (UTC) Received: by mail-vs1-f48.google.com with SMTP id ada2fe7eead31-5dbcd54d2d8so2775576137.2 for ; Sat, 15 Nov 2025 14:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763244173; x=1763848973; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aNCZJnWBLBnrzxjxx+ArZjq4+fUZm0OfjMfbFmvjnSU=; b=h2L0lP0ej8xQffwDVvEhU+ChxtJXC0mz8PvrLaJ2WXzqIl8WqOG6qcZpno1ivRODkl JhZ2z70P+RQpckN0rbHS7LX3XjOFd6vgPgB7nFuoCvPGq1PRjidMxMNGLGnVrPOgKRVK Mv3jTqr8qqzopLA4LfqyKOC/KBVJzUfcUuW0IrTwFFHJzj+XNJoueeiQtHIb2M0PEpIW bF4C1YpsGy+J/0YqHbf+AH5UhistYB+FuCKHV/Ev5An7ue4iXL6Nzrs2UGC6CnzbftTO ofHCuxwBhYr7it0l5L6Zlnklmh/sj9s/+Zz+O7fof1IgkONwrD69F9CeoImhXxM+wkZt wSBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763244173; x=1763848973; 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=aNCZJnWBLBnrzxjxx+ArZjq4+fUZm0OfjMfbFmvjnSU=; b=Yqn62nyRABlL22MVMyOR0Rl62r4iISQ8mKgy9RXpTDGuKpfBTuFG09AizlcBDsZ13o gH0uD6WqG80dVIKV2nKOji7By7tHHSZZbiFheBSrtg6csB/b/yixIFRfBrqQ9ARGDGqb zaaEKzfZ2jMAE4t0JQx5s5t96Ypud2ZUE2FeurXHL9cuJdUmt4UUJjlsromYHY6lFe0O 51pr4KaFPCMjwxeP2lqi02p80PmYrqm/29dXU62raE1n9IBwhiQhgXpWxM7PeZQUjCfs YA6XOCu/BDyhILnNUUs++svgck8Cps2ZdjujNWtSvlXQgwjZgq4EP3M448TJq3njBZaQ SvUg== X-Gm-Message-State: AOJu0YxddmS9ZgSHw52uzB2vYVmhpdzhLJf2IftQwDn9OnNNpBbceQJe jop4aPLgb70+Ob6X0JDakvohfbX2VowVfsJ4/9LVX3+1qA+gQTItQZjijwQqsZJ6h6w+nDpn/aX BBzTrST9Np2qMPC3T66uLIydoZ3HuAkA= X-Gm-Gg: ASbGnctF7kVxOI2OzpqECpTy/6oDR+fNvodKnVKunBANLlA86sL+iHZrUET4zrgyE1D 26/FOXbl8XzvW5a5VE5kyHU7qoa12K93+9XFdeUnQzvB1+KmgnEX+z+pJXxBzvbglfJjOTSHfvW TjGD0fcc27+c7OEdkDCuMLdnxBgSljwzW+bAKMsQQy+RaLdNr9kOEyobHkfdNii/MNj3FDpatcB HFve5RFTd07gC/y9/1OKEYvn1zOXFpKGH3zMcEGxB99D3+L3M5E7kuJKhBuAqTtbEjNk5v6V6s1 MxBeG+hVChAAX6FGaxsf3/212w== X-Google-Smtp-Source: AGHT+IFi7zpqZbRQlksIgcxXZDRJlZkD1KvJgP6hLWoZYcAaWAkREA6beNxzHO4nhgtk9vBNOKpwkEDECwphW8TGTQg= X-Received: by 2002:a05:6102:580f:b0:5df:c4ec:660e with SMTP id ada2fe7eead31-5dfc55043e0mr3068523137.9.1763244172768; Sat, 15 Nov 2025 14:02:52 -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: Sun, 16 Nov 2025 00:02:41 +0200 X-Gm-Features: AWmQ_bm99ep-YDBhWbJbyMk0F3wOfhRblSydxZmRGAwETWUUcDlwWAfS3AFQ_Ao Message-ID: Subject: [PHP-DEV] Re: PHP True Async RFC Stage 5 To: Jakub Zelenka Cc: php internals , Larry Garfield Content-Type: text/plain; charset="UTF-8" From: edmond.ht@gmail.com (Edmond Dantes) Hello > It's 1.6k lines so it might help a little bit Yeah :) > Why do you need reactor for this specific part of proposal? The thing is that there shouldn't be any IO so you reduce scheduler code as well and make it simpler and more reviewable. So you are suggesting removing all I/O from the RFC. On the one hand, that sounds appealing. It immediately eliminates a bunch of tests. But there is a trap we could all fall into. By separating the reactor and the scheduler, as well as the rules of how they work together, we might accidentally introduce an error into the document simply because the documents would be split. (interface drift) The fact that the I/O rules and coroutine rules are part of a single document developed together is actually an advantage, just as the existence of separate RFCs for await and Scope is. And this does not prevent splitting the implementation code into many small parts. On the other hand, STREAM has corner cases, especially in error situations, that would be appropriate to discuss and formalize in a separate RFC. Ideally, this should probably be done right before accepting the STREAM PR. However, such a description does not carry significant risks. This requires some thought.