title: Is there a method to check if all array items are '0'?
body: <p>I have an array</p>
  
  <pre><code>$data = array( 'a'=&gt;'0', 'b'=&gt;'0', 'c'=&gt;'0', 'd'=&gt;'0' );
  </code></pre>
  
  <p>I want to check if all array values are zero.</p>
  
  <pre><code>if( all array values are '0' ) {
  
     echo "Got it";
  
  } else {
  
    echo "No";
  }
  </code></pre>
  
  <p>Thanks</p>