Revolt is a rock-solid event loop for concurrent PHP applications.

Global
Joined March 2021
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
Replying to @amit_merchant
Have a look at the linked example, although it's a bit too simple, as it could be written without fibers as well. What do you actually want to demonstrate?
48
Replying to @amit_merchant
Unfortunately, this doesn't help to understand how fibers are supposed to be used. Fibers should suspend while waiting for I/O, not with the response: revolt.run/fibers
1
3
301
We've released v1.0.3 of the event-loop, fixing an edge case created by last week's v1.0.2 with the improved garbage collection. We've also added checks to ensure you're not running an older PHP version affected by serious GC bugs related to fibers.
1
1
5
845