|All requests||>||What is the best PHP multithreading c...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by stefanhorner - 7 years ago (2016-01-16)
I want to create threads in PHP.
This free as in freedom component easy up process forking and observing in php. It is using the memory limit manager as well as the time limit manager and the event dispatcher component as robust base.
If you want real threads you should use the pthreads extension. If this extension is not available in your PHP environment, you can use this class that emulates threads by sending HTTP requests to the same Web server, thus creating new instances of a script running in parallel.