by gnarcoregrizz · 8y ago · 0 comments
Also, the pcntl functions don't provide multithreading primitives, only multiprocessing (fork)
Edit, looks like there is also a pthreads extension
While "writing a daemon" is pretty common, I've never seen a daemon written in PHP (I'm sure they exist, I've just never seen one), so I would call that an exotic use-case :P