Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Forks the currently running process
pcntl_fork(): int
        posix_setpgid(00);



        for (
$i 1$i <= 20$i++) {

            
$pid pcntl_fork();



            if (! 
$pid) {

                
$files = new Filesystem;
    {

        
$this->tearDownRedis();



        if (
$pid pcntl_fork() > 0) {

            
$this->setUpRedis();

            
$this->setQueue($driver'default'null6010);

            
$this->assertEquals(12unserialize(json_decode($this->queue->pop()->getRawBody())->data->command)->i);