Result Size: 625 x 571
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$a = 0;
// True because $a is empty
if (empty($a)) {
  echo "Variable 'a' is empty.<br>";
}
// True because $a is set
if (isset($a)) {
  echo "Variable 'a' is set.";
}
?>
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_var_empty by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:51:08 GMT -->
</html>
×

Report a Problem: