PHP Operators
- Return true if $a is not TRUE.
1 | echo "\n".'- Not -'."\n"; |
- Return true if $a is not FALSE.
1 | echo "\n".'- Is -'."\n"; |
- Return true if either $a or $b is TRUE.
1 | echo "\n".'- Or -'."\n"; |
- Return true if both $a and $b are TRUE.
1 | echo "\n".'- And -'."\n"; |
- Return $a if $a is not FALSE.
1 | echo "\n".'- Ternary -'."\n"; |
- Return $a if $a exists and is not NULL.
1 | echo "\n".'- Null Coalescing -'."\n"; |
die();