looking for something like "array_and"
<p>I'm want to check an array like this, if every value is "true"</p>

<pre><code>$arr = array(true, true, true)   // would be true
$arr = array(true, true, false)  // would be false
$arr = array(false, true, false) // would be false
</code></pre>

<p>PHP provides a funcion "array_sum()". Is there a short function like "array_and()"</p>

<p>Currently I use something like that:</p>

<pre><code>$result = true;
foreach ($arr as $item) {
  $result = $result &amp;&amp; $item;
}
</code></pre>

<p>Is there any shorter solution?</p>
