September 15 at 1:26 pm
- Link
PHP does not have threading anywhere in its massive core. We can, however, fake it by relying on the underlying operating system’s multitasking abilities instead of PHP. This article will show you how. PHP has no built in support for threading. But there can still be times when you’ve got lengthy code to run and idle CPU cyles you’d like to capitalize on. We can treat child processes as threads. I created a PHP4-compatible class named Thread to abstract away the details of process management. - Avi Flax

