PHP 8.1 RFC: Fibers
RFC Vote: Fibers
- | |
>= 2/3 | |
Yes: 50No: 14 |
Fibers is a new feature in PHP 8.1 that brings lightweight and controlled concurrency to PHP.
In essence, a Fiber is a code block that maintains its own stack (variables and state), that can be started, suspended, or terminated cooperatively by the main code and the Fiber.