title: Check how many variables equal zero with php
body: <p>I have numerous variables and I need to print a numeric value for how many of these variables are equal to zero:</p>
  
  <pre><code>$var1 = '2';
  $var2 = '0';
  $var3 = '4';
  
  //check how many variables = 0
  $zeros = ?
  
  //should be a numeric value this example should print '1'
  echo $zeros
  </code></pre>
  
  <p>Thanks for any suggestions!</p>