PHP 8.2.31
Preview: ValidLogicalOperatorsUnitTest.inc Size: 376 B
/opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/ValidLogicalOperatorsUnitTest.inc

<?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) {
}
?>

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
2.31 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.11 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
2.64 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
978 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.74 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
376 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.40 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).