Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $_r = TRUE + FALSE;
- if ($_r) print 'TRUE'; else print 'FALSE'; // Prints TRUE
- $_r = FALSE * TRUE; // (0 * 1)
- if ($_r) print 'TRUE'; else print 'FALSE'; // prints FALSE
- $_r = FALSE / TRUE; // (0 / 1)
- if ($_r) print 'TRUE'; else print 'FALSE'; // prints FALSE
- $_r = TRUE / FALSE; // (1 / 0)
- if ($_r) print 'TRUE'; else print 'FALSE'; // prints Warning: **Division by zero**
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement