title: PHP is_array returns "1" on true and breaks on false
body: <p>I am passing a jQuery array to PHP. My call back function returns the value when it is a string, but breaks when sending an array. The break is in the PHP code.</p>
  
  <p>I've tested the following:</p>
  
  <pre><code>$yes = array('this', 'is', 'an array');
  echo is_array($yes);
  </code></pre>
  
  <p>Which returns "1".</p>
  
  <pre><code>$yes = "array";
  echo is_array($yes); 
  </code></pre>
  
  <p>Which breaks the code.</p>
  
  <p>Why am I not returning "true" and "false"?</p>