by echelon · 6y ago · 0 comments
It's not that a new language will replace it. It's that the people that hire PHP to solve their problem will now use a platform with no code to manage.
Engineers writing platforms will choose languages other than PHP to write them. You can't spin up multiple request threads to make concurrent non-blocking queries in PHP.
You mean that you don't know how to: https://github.com/amphp/amp
> You mean that you don't know how to
I'm not convinced you found an appropriate answer either.
In any case, this should be a language feature.
[1] It looks like it relies on bindings to an unofficial native code extension.
I think you can.
https://dev.to/webong/using-asynchronous-processes-in-php-7i...