title: Create an associative array using another array as keys
body: <p>I currently have the <code>$keys</code> array <pre>array(5) {
    [0] =>
    string(9) "SessionID"
    [1] =>
    string(5) "Title"
    [2] =>
    string(11) "Description"
    [3] =>
    string(5) "Level"
    [4] =>
    string(4) "Type"
  }</pre> that I use as keys for the values of another array called <code>$values</code>. </p>
  
  <p>I would like to make an associative array by mapping the other array to <code>$keys</code>.</p>
  
  <p>Another way to say this is I would like to <code>array_combine($keys, $values)</code> whereas <code>$keys</code> has only 5 elements but <code>$values</code> has more than 3000 elements.</p>
  
  <p>Edit 1: Sorry for not putting in a <code>$values</code> example. It would have the same order as the <code>$keys</code>:</p>
  
  <pre>
  +-----------+-------+-------------+---------+------+
  | SESSIONID | TITLE | DESCRIPTION |  LEVEL  | TYPE |
  +-----------+-------+-------------+---------+------+
  |           |       |             |         |      |
  | 1         | A     | Describe A  | Level 1 | Word |
  |           |       |             |         |      |
  | 2         | B     | Describe B  | Level 2 | Word |
  +-----------+-------+-------------+---------+------+
  </pre>
  
  <p>or</p>
  
  <pre>
  $values = [
  1, 'A', 'Describe A', 'Level 1', 'Word',
  2, 'B', 'Describe B', 'Level 2', 'Word'
  ];
  </pre>
  
  <p>since I populate both arrays from a single CSV file.</p>