Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128053 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 66AE51A00BC for ; Tue, 15 Jul 2025 16:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752597800; bh=AuImo1UKXPrdnedmiSBXuh1cH++tWHG6z3IRNOfcwrA=; h=From:Date:Subject:To:From; b=KVy2TeDCh7wm9Xl4odO6ra9mYNLzt7Yp3EB5AKEVkjYdXTUtb881FyKBaZDD1cW+m 19bg417DJkWVhqeY9TWpUb2F8Dm+giKUxhy2NH0KVzIZikS7wF7KQvnbe+ZdVbhyXe JkoEYF/fWIBxSyed7oeTwj7j2tAS/f5F2FIaUZOiRd7W3BIRpn8vjSUhVKgbWLXtFJ +6nSEKh7/y/2fTNF6qvD764cw1gGCnxyn6gphgLWmEGZoC3+68/X7CKqt8arxIvDAa OIvYO4MjyQtmk1ayUvYFIh37shtWWeSJy+olCBn0whmS344aK94Geks1JfHSjbewy8 C3fwRHJlWn2Hw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BF1911801E3 for ; Tue, 15 Jul 2025 16:43:18 +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.4 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: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (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 ; Tue, 15 Jul 2025 16:43:14 +0000 (UTC) Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-e812fc35985so4872771276.0 for ; Tue, 15 Jul 2025 09:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752597901; x=1753202701; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AuImo1UKXPrdnedmiSBXuh1cH++tWHG6z3IRNOfcwrA=; b=I4OA+ONx8DYe0d4cCApVbc+9iSHnccc3U8CrBbq0ApCzN4MqoQLSkCXldPCDoc5aKI Wra1gKUklDB8/TIZJkHyGC3Z5/H4XypDCa6z+TjJCkwfNn5uwwH7hpmb5g+gRHb+w9wZ cCsXBpLt30rYXyKU27CCg+U4DM7ZSmfxHPpy8le+gJS3PEwsxfOSlQyCLn8063iPTFUV SJm4hWDEsEgnXvJWQyRIB27XoubuuYEWq5Vzb9oRzsGXyhi8cAzBp9l/3Pd3eBWNI6Ug bvwCmE2yT5rC1+eW2jfcZcy+dho8xuLgRU3Xa4eTJRh3+i29VyAaLYOByeMubwtSno76 Kewg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752597901; x=1753202701; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AuImo1UKXPrdnedmiSBXuh1cH++tWHG6z3IRNOfcwrA=; b=WUuYM4GkuqkH/7wm5LEyofMCT2ivaxwLEsHYjRPmacCyElumccFj3YAtzJViQffefN zlqe/1bCd5IO1fo35fD0jJP7Np6K8d9w7/5RxNOUW2neAAVkIi4DyHyVuMGIlaAACFhp Fp3Ev/aSmZhx0JGYhLP3dW94lYi3WzjiCM4kkzhd3h6ioK4n6P+zBeJMiO7bjHC3GheX bIn4qq+pMMrW9JxlVX7Y4ful8FdcVRMy177/4Sn+wgIs1pq108pQElD93Bvean2nUIje bAvHUCECUmHJ/7lqrcj+hE0mwnxUT2gbbRWvext9x9bAX/Cb3wi0yop+Hvur8UgVcyrV 8g+w== X-Gm-Message-State: AOJu0YwI57yZuVCN2o6wnxIxPZNhTA6C+rTLCGOXpHNDU4FM7XQ+x7Rb HUQ+EX1ZrPO3OOck3pvIBo4aA80wnMNLAjtmdnwO3KrFoMF6LnDmGVXHEA+dqivpmfyLwCtovE3 hvLv97MV4feN5jVXZIWffQ5lqZ7GnvJkYeFQet6c= X-Gm-Gg: ASbGncsfQmgxjV5OPTGqjFlVAbLR+xZI9Pn7yJVq/UMun37kbWQS7cc9Zjc2AjjQobO Q6aiinZBcYZB9vc9syDduOKaC2ANii4vB5IpnxjO2+tzzFX81ZLHETBD/hzvJM0SNBRA4xlm6T/ uc3mDt2+f/GpcdKO3FVYIqrgrVTXkpD0wJNNk3RUOECgblcxWtJCGwrN/fpXdyGV9E5+2Oeyokq pzoVZr/rN2m/OBnDQ== X-Google-Smtp-Source: AGHT+IHVElKeUnAXonRbjJN04D434aRR5DWC5YAqrxAtStdkVTAxmjXlvQx90rDwrNtHbnNFXtRWeoI09TlIT8lDSYo= X-Received: by 2002:a05:690c:48c6:b0:717:b35b:94d1 with SMTP id 00721157ae682-71824af241fmr47536167b3.9.1752597901453; Tue, 15 Jul 2025 09:45:01 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Tue, 15 Jul 2025 19:44:50 +0300 X-Gm-Features: Ac12FXyIkrIzjBqIjRPFbBaP1aWupkqsWm_a5hmsGSRILVjL9c8jPeM6fvpx3Og Message-ID: Subject: [PHP-DEV] TrueAsync Engine API RFC To: "internals@lists.php.net" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: edmond.ht@gmail.com (Edmond Dantes) Good day everyone. Today I=E2=80=99d like to present an updated RFC related to True Async. This RFC proposes changes only to PHP core and does not affect any user-facing features. https://wiki.php.net/rfc/true_async_engine_api The main goal of the RFC is to introduce a backend for asynchronous functionality in PHP. This approach allows gradually bring async capabilities into the language and gives space to better design the main userland API in a separate RFC later. If this RFC is accepted for PHP 8.5, there is a good chance to prepare userland async in PHP 9. For now, all userland API, such as coroutine functions (spawn), await, and will be available in a separate extension: https://github.com/true-async/php-async. But just to be clear, this extension is not part of the current RFC. Best regards.