logoalt Hacker News

jmyeet • today at 1:10 PM • 0 replies • view on HN

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.