title: Numeric arrays with the same value
body: <p>I have a function for <code>dropdown list</code>, which shows me the names for filtering <code>results</code> from two different <code>queries</code>. The one with the <code>numeric</code> <code>value</code> from <code>1-4</code> and the other with <code>10-110</code>, some of the results have the same <code>strings</code>:</p>
  
  <pre><code>function filter_workhires($status) {
      $status = array();
      $status[1] = 'booked';
      $status[70] = 'booked';
      $status[2] = 'partiallyattended';
      $status[90] = 'partiallyattended';
      $status[3] = 'fullyattended';
      $status[100] = 'fullyattended';
      $status[4] = 'notattended';
      $status[80] = 'notattended';
      $status[10] = 'status_user_cancelled';
      $status[20] = 'status_session_cancelled';
      $status[30] = 'status_declined';
      $status[40] = 'status_requested';
      $status[50] = 'status_approved';
      $status[60] = 'status_waitlisted';
      $status[110] = 'status_not_set';
  
      return $status;
  }
  </code></pre>
  
  <p>In this form, I get <code>double names</code> for examle <code>booked</code>. How to <code>combine</code> the <code>statuses</code> according to the strings they show?</p>