Traditionally, PHP has always been a single-threaded language. This means that you have a single process that runs, and everything runs sequentially within that process.
However, there is a way to run separate threads within PHP, using the
threads PHP module. However, as per [this GitHub issue]
pthreads has been deprecated.