this post was submitted on 05 Sep 2023
6 points (100.0% liked)
PHP
368 readers
1 users here now
<?
namespace lemmy\php;
/*
Welcome to the PHP community on Lemmy
#Rules:
1: Soon(TM)
#Helpful stuff:
#Common frameworks:
*/
echo "Welcome";
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Does anyone use this? It’s doesn’t seem very efficient to use PHP for this kind of thing.
What kind of thing do you mean? Async is used in PHP, though not many people roll out their own event loop, that article is more for people who want to know how it works. Previously generators were used for native async support, nowadays fibers.