Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129809 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 5F4B71A00BC for ; Wed, 21 Jan 2026 15:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1769010502; bh=FBFDlcjWp6c4oTEM1Sbb9orsX3h52Wk5xmD6xD837Sc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Qd60MfiPSA0YOdm07r1A2XxKAvBUh+XJTBCCVz55OWbTt1EPfQC6g9W/S2IL+9VMo TLIVIXjCVGrdlFxzbBYkXvGf4mBr+yf4G9ebsw6fAX2UVtR6PrU4SDixAa2SoF35jP +VBGn2KxmpZM/l70fL4wE/NRJTy2SCMPLlXcP/6857FNm/jqAaG6XRVJxl81gG6BRQ UKNgdeCodlqInATbYHTaHmOLZfSqu6G7M3cS7v3ma1Oy2tC3d6pq+1YVBkZ38H3cTH ewlOOV0o4d15YJa+m+mODuueXQcW3YC27+2mUUiaafjq+YuEAAZGfu/7kDeB8mOBOF 6HtApHfqDy5aw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 72B1C1804C2 for ; Wed, 21 Jan 2026 15:48:21 +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,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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 ; Wed, 21 Jan 2026 15:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1769010495; bh=xtisTr6LD+VdmpNGw7xfG+lgFJzpFXeivE1fyLPIPJ0=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=LuPtX1NeuVdJxjgVpn0eCJdx3R8ZfOsXLcgtWBfEGGMbEftisspEdMMwIK3UgHume vnqWoArpsrMvi1CZhhzYOJlFS4iOWElF9Bkhew8erJsyewimxHixhspOTPAcJG9GKp 6fyNMWMhIXgE8kYmEIMqiHFlVJTgU27RZdwE1jAK8tYy4CzpngUTXjRyU6oisdP4S/ hHtrrJXpdInQYaFjElF61xkz7zJ3NQvKSnAA5Pkg+W+YvAURq5LpDqjdrVy9R22yQe /Vd5vgBLLYECJDis3BiTPlyV6trPqaXq5HLglfqdVQBTk94uPaCN21UeCOTJd71f8s 9dyiCX6iMfGew== Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Wed, 21 Jan 2026 16:48:14 +0100 To: Edmond Dantes Cc: php internals Subject: Re: [PHP-DEV] [RFC] True Async RFC 1.7 In-Reply-To: References: Message-ID: <280b51ba9bed2d72d2d9b8cd9cc68eb8@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2025-12-25 08:57, schrieb Edmond Dantes: > - Function naming aligned with PHP coding standards: > `currentCoroutine()` → `current_coroutine()`, > `gracefulShutdown()` → `shutdown()`, > `getCoroutines()` → `get_coroutines()` > - Method renaming: `Coroutine::onFinally()` → `Coroutine::finally()` > (brevity) > - Interface renaming: `FutureLike` → `Completable` > - Exception renaming: `CancellationError` → `Cancellation` (clearer > semantics) Having a new discussion thread for each version of the RFC (and the amount of changes) make it hard for me to keep up with the RFC. I've just taken a quick look at the stubs though and am noticing that the “base exception” is incorrectly named, as I had previously mentioned in my email in the voting thread: https://news-web.php.net/php.internals/129308 It should be `class AsyncException extends \Exception {}` and `class AsyncCancellation extends \Cancellation { }` as per: https://github.com/php/policies/blob/main/coding-standards-and-naming.rst#throwables Best regards Tim Düsterhus