PHP 8.6 ships a native Io\Poll API backed by epoll, kqueue, and WSAPoll. What it fixes about stream_select, and how the new Context and Watcher classes work.
PHP 8.6 lands two closure optimizations — static inference and stateless caching — delivering real memory and speed gains with zero code changes required.