src/Session.php
private function walk(string $method, int $highProbability = null, array $args = [])
    {
        $result = false;
        foreach ($this->handlers as $data) {
            list($handler, $chainProbability) = $data;
            $probability = isset($highProbability) ?
                $highProbability :
                $chainProbability;
            $result = call_user_func_array([$handler, $method], $args);
            if ($result and mt_rand(0, 100) > $probability) {
                return $result;
            }
        }
        return $result;
    }
private function walk(string $method, int $highProbability = null, array $args = [])
    {
        $result = false;
        foreach ($this->handlers as $data) {
            list($handler, $chainProbability) = $data;
            $probability = isset($highProbability) ?
                $highProbability :
                $chainProbability;
            $result = call_user_func_array([$handler, $method], $args);
            if ($result and mt_rand(0, 100) > $probability) {
                return $result;
            }
        }
        return $result;
    }
private function walk ( string $ method , int $ highProbability = null , array $ args = [ ] ) { $ result = false ; foreach ( $ this -> handlers as $ data ) { list ( $ handler , $ chainProbability ) = $ data ; $ probability = isset ( $ highProbability ) ? $ highProbability : $ chainProbability ; $ result = call_user_func_array ( [ $ handler , $ method ] , $ args ) ; if ( $ result and mt_rand ( 0 , 100 ) > $ probability ) { return $ result ; } } return $ result ; }
Internal method to walk the handler chain.

@param string $method Method name to call on each handler. Note that the
method definitions on handlers differ from those in
SessionHandlerInterface.
@param int|null $highProbability Override to the handler's defined
$chainProbability. Defaults to null, i.e. not used.
@param array $args The arguments to pass to $method.
@return mixed Whatever $method returned.
Internal method to walk the handler chain .