Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

empty.php 154B

1234567
  1. #!/usr/bin/env php
  2. <?php
  3. // 0 is empty:
  4. if (empty(0)) print "here's your gotcha\n";
  5. // "0" is empty:
  6. if (empty("0")) print "here's your other gotcha\n";