Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129033 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 D9B361A00BC for ; Fri, 31 Oct 2025 22:56:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1761951421; bh=gL5QY0PvFYOvaiaIU6cU9+biT1b3cxKoL/GSly+UTbU=; h=Date:From:Subject:To:References:In-Reply-To:From; b=XdShvkKYSX///ZUJki4+d54x9HFenZ8u9qajjvnFgwv07xpRUygfshfFVm9AYcSyX Y2KUl7Uj8lVOmM4uhI0AnLD7vA3S7Ypr1yAjzt0I2fpFA5lO/IYpgYQe6WapbPxOGF tV/wi5mxmv9GFSqpFbYzA31FTag8icrCEExaGKPz6dT5MsufGbDrDirst96xkjCE+P widd0cfkeRMrg0wY8H4DAQ3xmT37AtV44Ud9tib+hROXEoAyEQS8P3byyYl3buCpsf wtMXl8mpORHcE8TxNSar9yVu0a0g0irNtFGAD7Fbrh48m8G5TkN/lVZGSJnk7NjnY9 MAqTNPzmUCjtQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 11DA9180078 for ; Fri, 31 Oct 2025 22:57:00 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail.yourprovider.de (mail.yourprovider.de [157.90.159.104]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 31 Oct 2025 22:56:59 +0000 (UTC) Received: from [192.168.178.35] (xdsl-78-35-193-36.nc.de [78.35.193.36]) (Authenticated sender: dennis@birkholz.biz) by mail.yourprovider.de (Postfix) with ESMTPSA id E66D49C4AE for ; Fri, 31 Oct 2025 23:56:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dennis.birkholz.biz; s=default; t=1761951413; bh=gL5QY0PvFYOvaiaIU6cU9+biT1b3cxKoL/GSly+UTbU=; h=Date:From:Subject:To:References:In-Reply-To:From; b=AYHecz70QUFtfEnvxOGKHHkhY76DNlPyO9Dhj5u6Bn0sjl5QQjdA6GyuybmTurojl A2ctfoXJq2UMoA2Qehd6e7PVTMPBvcth2T7AsIbDyrjw2eXVpFc55Y6RUStGR/86a4 uhFjnGjV0H5arXIwtTV+ZmpdQYk3HduikoTsc1Iy9WsBAUJVBXrIxMGmiHRPKE4FAm BkTI13sHPnJoEZNEu5BxgcRKYLYBduwvrTAgc0GtTgUbMFXeIZ3CnbiKLgOt+vRBIp Np8klRsoPHNDpFIOhy4Tsng6quiGvqlAZ1qlQPWnDyOc91pYodj/MLxRxDfQXsHHmG r0uii8GFPBQdg== Message-ID: Date: Fri, 31 Oct 2025 23:56:53 +0100 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] [RFC] Polling API To: internals@lists.php.net References: Content-Language: de-DE, en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: php@dennis.birkholz.biz (Dennis Birkholz) Hi Jakub, Am 30.10.25 um 10:06 PM schrieb Jakub Zelenka: > I would like to introduce a new polling API RFC that is part of my > stream evolution work: thank you for putting this RFC forward. I missed a build-in unified polling API for a long time! I just have some minor remarks: 1. Why not use a "Pollable" interface that will be implemented by Socket, CurlHandle, etc? That would allow to directly use the "resource classes" without a step in between. (The remaining resources should be converted to classes, too, and implement Pollable, obviously). 2. Is there a reason why mysqli (when using async queries) is missing from the Future Scope list? Or did it just not come to mind? Kind regards Dennis