Why you’ll never use Fibers directly?

Everything is, and will, be handled for you

Photo by Ben on Unsplash

They’re not meant for *you*

This feature is primarily targeted at library and framework authors to provide an event loop and an asynchronous programming API. — PHP Fibers RFC

Usually the best async procedures are opaque, implemented deeply in the code.

Fibers for libraries or frameworks

A basic implementation that requires the result only when they’re needed.

Graphic Designer graduate. Full Stack Web Developer. Retired Tech & Gaming Editor.