public static function zip()
    {
        $arguments = func_get_args();
        $length = func_num_args();
        $result = [];
        for ($i=0; $i<$length; $i++)
            $result[$i] = static::pluck($arguments, $i);

        return $result;
    }
public static function zip()
    {
        $arguments = func_get_args();
        $length = func_num_args();
        $result = [];
        for ($i=0; $i<$length; $i++)
            $result[$i] = static::pluck($arguments, $i);

        return $result;
    }
public static function zip ( ) { $ arguments = func_get_args ( ) ; $ length = func_num_args ( ) ; $ result = [ ] ; for ( $ i = 0 ; $ i < $ length ; $ i ++ ) $ result [ $ i ] = static :: pluck ( $ arguments , $ i ) ; return $ result ; }
Merges together the values of each of the arrays with the values at the corresponding position. Useful when you
have separate data sources that are coordinated through matching array indexes.

@category Array Functions

@param traversable $array multiple, the arrays to zip

@return array
Merges together the values of each of the arrays with the values at the corresponding position . Useful when you have separate data sources that are coordinated through matching array indexes .