How to launch asynchronously a PHP function?

Good afternoon. Need help with the launch of councli asynchronously. If the loop (iterates over the parameters) within a function, as it uses a third party service running long. And need to run many multiples. The goal is to make sure that she would run 5 times asynchronously, waiting to complete and the next 5 times. Ideally, of course, that she was always running in 5 copies until I finish going through all the settings, but the blocks 5 in parallel is also fine.
Thank you!
March 19th 20 at 08:32
2 answers
March 19th 20 at 08:34
Solution
March 19th 20 at 08:36
Miner in php?) generally with streams in PHP is not very. Can look in the direction of WebSocket and PHP jobs and service which works fine with the flows
generally with streams in PHP is not very

To prove you that, of course, will not? - mozell.Fisher commented on March 19th 20 at 08:39
@mozell.Fisher, if you have the opportunity to do async not PHP, it makes no sense to do on PHP.
Ecosystems, there are no community too.
Convenience - well, if only to quickly start when you do not know anything except PHP - Daija commented on March 19th 20 at 08:42
Ecosystems, there are no community too.

I top a few of the ways you distribute and they work consistently and the community they have. What makes you think that nothing? - mozell.Fisher commented on March 19th 20 at 08:45

Find more questions by tags PHP