Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128785 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 546E11A00BC for ; Mon, 6 Oct 2025 05:35:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1759728828; bh=Os/6ap53+Kuakv2oM1OjWlGHbBVkfmiAW0ueTzZMb3w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MSjtuTBEBDVrizbPcIOjEyDHIM4/l6Aco1jglxUXu/A88FuwKzfGq1OHtVaIHj+vr XHItLmhch23B4MKvx5jI4LwQY495lpzFIg7jDT5Ajms2u49iHDZjmrO82FEccDaLHi KK5xq3110UCcsGpM8tOSOvvAmWUCeP+xYaUiFjxQZ5vuYXqQVl/DdAz2hF9HCJsLK9 5u1R92JNNMptx+NphRjs6gotFuoKWJNgvZ1B0SQatquI8ZXHjdHV8SkpoB48xwtsFZ 8Ix19N7vM30gAPrmTtyy46K3HPtqb9wE+nOBs3uj2N09oatkr6c/sGgQaltEVpUNfW 4vomkwF/jR6Fw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 261E818003F for ; Mon, 6 Oct 2025 05:33: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=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-ua1-f43.google.com (mail-ua1-f43.google.com [209.85.222.43]) (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, 6 Oct 2025 05:33:37 +0000 (UTC) Received: by mail-ua1-f43.google.com with SMTP id a1e0cc1a2514c-890190da557so1224184241.3 for ; Sun, 05 Oct 2025 22:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759728894; x=1760333694; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Os/6ap53+Kuakv2oM1OjWlGHbBVkfmiAW0ueTzZMb3w=; b=lvhLqcc1WeaKM6hr8qrEMCd5VHhvvJ0a/29RIg8zvhZcVw7BOPFBSMwLOYnvzZJ+SY VU8di44CPBe8gLNmLRkZLzwvjUPvGEHArEU6P7zKR5z2qFytcJkxCgVY027Cr3GOIJ6m 4l1lId973RJAci4DE5e35E7q32xw1pbuKmokV2KaWHFt42M96UjosK06ad5LDyYYwY9h qprcpcuQ3FKbZSnid4XiTK3jujMo39doARJzzFp2WmxgaP6ryEff15dWdgFg2q476rUT 4WgD889z3H2aBpsYPJcXgOq/luDRX2DDfgAq2UwG0JqRYy4kOkysOs3tMYD5h7hV7P3G qWEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759728894; x=1760333694; h=content-transfer-encoding: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=Os/6ap53+Kuakv2oM1OjWlGHbBVkfmiAW0ueTzZMb3w=; b=WqyD87n6rUjcApJPP+EWwYl7AaPrrM+1BzGbpP6l5Je0qJSVNW3822xZkfNzAAnDad xE/GbSRAGSyq92Kaujs6NlXOzXTmeA1djNNer61lqKvvyPjBWxz0cVrIyAqdOYkIK8I1 M7fCqyqzthxG6FTNuS7Ozfms2oAwDg2n9MZDRWgpXn857w8M7UK32Ftb519PMKpYELTw CCim5/niYxsohkXV9oG9tWc+0mBXuy8n52l76borWj3S1jB6ZpD1f9d/IusUxz0xR5RI 7EuITNlzDd/ATaoULXNKkR+tZA/87J/jYYxYwe10tF1cvUakKgtJs7fGVE9PlfXH00sq GAAQ== X-Gm-Message-State: AOJu0Yw34nZ/iZeg8P6pwAwdjUln+OXbMsRSNEM8t6TxqCfRP5sUlzUt 77GtAPpqHa4CBXcPwKFIXhl6DWd5ExAbcwHgthpqqcOHy9JUU1Fm6boURoLjzGTZmDSjsdRQMOE AVIJAIjLJi21EQHvlYOUrp8Jaezg6nuI= X-Gm-Gg: ASbGncuaSF48plpJt8Kbdxc0PgHGjWPqaZ5IH1XCKoJ0XqviWBWuY7BOsm4r6oWmhOo EHxZz6rlp/4jFOzl2Lqq2I8RT29uBIHQYUab2ih/ewGR9DSotO3bmGQgzAX0PyW2y5ItgZDNrOY u7uQ1T3WlkWOwHgILlw+C/7cvtTrRC7SN30YR3c/ZqoxjHrNJnlyEhryXgntmlOVCyrG6LQzfft r98a7F3fIEpyD1HTB3WRrglPuchtRO68jTR5WXCpQ== X-Google-Smtp-Source: AGHT+IEvpoyO5t0l0hipjCJDQRYwKbas4E/rLH1IKT6UlsF3L/oECFsm4klrIp5TwOpww9UEtrAOv9zgXZWBqjK0V2o= X-Received: by 2002:a05:6102:4189:b0:5c3:d964:a689 with SMTP id ada2fe7eead31-5d41d130cf1mr3634899137.32.1759728893991; Sun, 05 Oct 2025 22:34:53 -0700 (PDT) Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 6 Oct 2025 08:34:43 +0300 X-Gm-Features: AS18NWAg6Slwbduf_V6IxhbckZE1gcguG5B-8LQQBbOGGt_ahWlxQ5DN7msfaAc Message-ID: Subject: Re: [PHP-DEV] PHP True Async RFC Stage 4 To: Adam Cable Cc: php internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: edmond.ht@gmail.com (Edmond Dantes) Hello. > Just a quick question - other methods that tried to provide async/paralle= l type functionality previously were only available via the CLI. TrueAsync itself is integrated into PHP in such a way that it is always active. The scenario you described is technically possible (Of course, this can also be useful for sending telemetry in a way that doesn=E2=80=99t interfere with request processing.), but it=E2=80=99s not p= articularly relevant in the context of modern development. Why? Because client requests are usually processed sequentially, step by step. Parallel tasks are rare. Therefore, from the server=E2=80=99s perspective, the main benefit of concurrency is the ability to handle multiple requests within a single process. The same thing that Swoole, AMPHP, and other modern backend solutions do. And this is one of the reasons why FPM is morally outdated and therefore not used in stateful backends. That=E2=80=99s why you encounter C= LI so often.