File "ValidLogicalOperatorsUnitTest.inc"

Full Path: /home/warrior1/public_html/languages/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/ValidLogicalOperatorsUnitTest.inc
File size: 376 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
if ($value === TRUE || $other === FALSE) {
}

if ($value === TRUE OR $other === FALSE) {
}

if ($value === TRUE && $other === FALSE) {
}

if ($value === TRUE and $other === FALSE) {
}

if ($one === TRUE && ($two === TRUE || $three === TRUE)) {
}

if ($one === TRUE AND ($two === TRUE or $three === TRUE)) {
}

if ($a ^ $b) {
}

if ($a xor $b) {
}

if ($a XOR $b) {
}
?>