Enforcing strict comparison for bool return type functions in PHP
Given: if ($var) is a loose comparison as in if ($var == true) strict comparison will be if ($var === true) should also bool return type function be explicitly enforced? es: if (isset($var) === true) or if (isset($var) === false)…