Hacker News new | past | comments | ask | show | jobs | submit
Spawning threads in PHP is a mistake. The beauty of PHP is that a given request is single-threaded. Any IO/network bound calls allow off-thread code within that same async-await model. If you want to spawn threads, put it in an extension.
loading story #50566656
loading story #50563091