title: Check if all values in array are the same
body: <p>I need to check if all values in an array equal the same thing.</p>
  
  <p>For example:</p>
  
  <pre><code>$allValues = array(
      'true',
      'true',
      'true',
  );
  </code></pre>
  
  <p>If every value in the array equals <code>'true'</code> then I want to echo <code>'all true'</code>. If any value in the array equals <code>'false'</code> then I want to echo <code>'some false'</code></p>
  
  <p>Any idea on how I can do this?</p>