I have a function that needs to go over around 20K rows from an array, and apply an external script to each. This is a slow process, as PHP is waiting for the script to be e
Have a look at pcntl_fork. This allows you to spawn child processes which can then do the separate work that you need.