PHPThread: Simplified Threads
Run PHP code in parallel with one API (threads, thread pools and JavaScript-like promises) that works on any PHP: real threads on ZTS, forked processes on the CLI, child processes under PHP-FPM.
Threads and asynchronous execution
Ver todas as etiquetasRun PHP code in parallel with one API (threads, thread pools and JavaScript-like promises) that works on any PHP: real threads on ZTS, forked processes on the CLI, child processes under PHP-FPM.
Utilities for the two things that go wrong when work is spread across processes: something is not