I am building a large php framework. Now we are trying to utilise the all possible cores in each script.
How can be run one script across multiple cores. For example lets say I have two functions on one php file which do hefty processing. How can I run both at the same time on two different processors and then return the results to the script and continue with the rest of the processing.
Are there any other scripts that can be used to create web applications like this...I have tried looking on-line but only solutions I have found were in desktop applications