Dev Tools · 1h ago
PHP Polling API Merged: Async Fibers Get Native I/O Primitive
The PHP Polling API RFC passed 33-1 and is merged to master, with Alpha 1 due July 2 and GA November 19. It provides a native OS-level file descriptor polling mechanism, filling a gap that previously required PECL extensions. Combined with Fibers (since PHP 8.1), it enables efficient cooperative concurrency without external event loops.
Meridian48 take
This is a foundational infrastructure change for PHP async programming, but its impact depends on adoption by major frameworks like Amp and ReactPHP.
Read the full reporting
Fibers Plus the Polling API: What Async PHP Actually Looks Like Now →
DEV Community
phpasync-programming