title: empty() returns true if a zero float value was passed as string
body: <p>MySQL with PHP can sometimes be annoying when decimals are returned as strings like with MYSQL functions. Is there a function to check if a variable is any of these in one?</p>
  <p>null, (bool)false, (int)0, (float)0.00, (string)&quot;&quot;, (string)&quot;0&quot;, (string)&quot;0.00&quot;, or (array)[].</p>
  <p><code>empty()</code> almost does the job but falls on these mysql decimal values sometimes returned as strings. isset() and is_null() operates differently in PHP 7 and 8. I am missing something like emptyish().</p>
  <p>What does not work:</p>
  <pre><code>if (empty($var)) // Doesn't work for decimal/floats passed as string &quot;0.00&quot;
  if ($var == 0) // Leaves a warning if $var is not declared
  </code></pre>