3 ms·
Apologies for digressing a bit, but is there something like Asyncio for PHP? I've been looking into this for quite some time, but the standard answer I get is u
by sideproject 9y ago
Apologies for digressing a bit, but is there something like Asyncio for PHP? I've been looking into this for quite some time, but the standard answer I get is using queues. Would love to hear about any latest projects related to this.
- Lazare 9y agoYou're probably looking for ReactPHP (http://reactphp.org/ http://reactphp.org/), or possibly Amp (http://amphp.org/ http://amphp.org/). There's also a collection of resources here: https://github.com/elazar/asynchronous-php https://github.com/elazar/asynchronous-php
- sideproject 9y agoHm. Never heard of Amp! But it looks promising! Thanks.
- rckclmbr 9y agoHack has awaitables. I would highly recommend using hack over php (as it's mostly backward compatible anyway). https://docs.hhvm.com/hack/async/awaitables https://docs.hhvm.com/hack/async/awaitables