Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $foo = 10;
- if ($foo == undef) {
- printf("foo : It's undefined");
- } else {
- printf("foo : It's defined");
- }
- printf("\n");
- if ($bar == undef) {
- printf("bar : It's undefined");
- } else {
- printf("bar : It's defined");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement