title: in_array always returns false
body: <p>I have this function: </p>
  
  <pre><code>function remove_addresse($input) {
      if (!is_array ($input)) {
          $input = array ($input);
      }
  
      foreach ($this -&gt; message_meta['to_address'] as $key =&gt; $address) {
          echo $address;
          print_r($input);
          if (in_array ($address, $input)) {
              unset ($this -&gt; message_meta['to_address'][$key]);
         }
      }
  }
  </code></pre>
  
  <p>For some reason in_array is always returning false.</p>
  
  <p>typical $address: <code>mult3@client.com</code></p>
  
  <p>typical $input: <code>Array ( [0] =&gt; mult1.client.com [1] =&gt; mult3.client.com )</code></p>
  
  <p>Why is this happening?</p>