Yngvarr

Generation

generate functionThu, 13 Apr 2023

curl asynchrone pool

function myloop() { $pool = new Pool(10); for ($i = 1; $i <= 10; $i++) { $pool->submit(new CurlTask($i)); } $pool->shutdown(); }

Questions about programming?Chat with your personal AI assistant