I used shell_exec command to get parallel execution of php script like this :
shell_exec("echo \"<?php require_once 'path/to/function.php'; DBTest::function2('f2-2');?>\" | php >/dev/null 2>&1 & ");
This work correct , put in this way I can't use variable,like this:
shell_exec("echo \"<?php require_once 'path/to/function.php'; $s =25 ; DBTest::function2('f2-2');?>\" | php >/dev/null 2>&1 & ");
it's not execute! Can help ?