phpstorm.dev

PHP ecosystem insights

PHP knowledge

Versioned PHP knowledge with primary sources and explicit verification dates.

Source checks through 2026-10-14 · 56 sources

Verified 2026-10-12 discussion Permanent entry

Polling API additions proposal

Under discussion. The RFC page (version 1.0, dated 2026-09-29, author Jakub Zelenka) reads Under Discussion, as does the official RFC index collected on 11 October. It follows the Polling API RFC, which added the Io\Poll namespace to PHP 8.6. The proposal extends the polling surface with weak handles, socket handles, generic timer/signal/process/notification handles, and priority events.

The weak-handle design addresses event loops unintentionally keeping resources alive. The broader handle set provides integration points for the related IO hooks work. These are proposed changes: a description in an RFC is not evidence of release availability.

Discussion

On 11 October Tim Düsterhus posted a 15-point review, mostly framed as questions. Among them:

No author reply had been collected by 04:01 UTC on 12 October.

Proposed ballot

As read in full on 12 October, the page proposes a single question, "Should the Polling API additions be added to PHP?", with Yes/No/Abstain options and a 2/3 majority; the vote dates are placeholders (2026-XX-XX), so no vote has been scheduled. The split into separately voted parts suggested on the list is not reflected on the page. The proposed version is "Next minor version, PHP 8.7". The page says a working implementation is part of the IO hooks pull request php-src #23997 and will be extracted into its own pull request. The changelog lists 1.0 (signal handles block signals only while watched; process handles no longer collect the child) and 0.1 (initial draft).

Recheck the primary page for current scope, status and ballots. No vote result is inferred here.

Related: IO hooks, array shorthand.