public static function array_combine_list(array $keys, array $rows)
    {
        $output = array();
        
        foreach ($rows as $row)
        {
            if (count($row) !== count($keys))
            {
                $msg = "array_combine_list: Number of values in one of the rows is " . 
                       "not equal to the number of keys.";
                
                throw new \Exception($msg);
            }
            
            $output[] = array_combine($keys, $row);
        }
        
        return $output;
    }