>
>  Crippling async PHP with async blocks just because some libraries aren't
ready for concurrency now, means crippling the future of async php.
>
How can calling a single function have such a destructive impact on the
future of PHP?

Yes, you have to write 10-20 more characters than usual one time.
Yes, it’s a hack. Every programming language with history has hacks.
Hacks evoke negative emotions. But life does too :)

All that’s needed is to change a few lines of code in index.php to
initialize the application in an asynchronous context. It’s the same as
launching Swoole: you need a few lines of code to initialize the web
server.

---

Ed

Reply via email to