title: '0' as a string with empty() in PHP
body: <p>I want a 0 to be considered as an integer and a '0' to be considered as a string, but empty() considers the '0' as a string in the example below,</p>
  <pre><code>$var = '0';
  
  // Evaluates to true because $var is empty
  if (empty($var)) {
      echo '$var is empty';
  }
  </code></pre>
  <p>How can I 'make' empty() to take '0's as strings?</p>