opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Squiz
/
Tests
/
PHP
➕ New
📤 Upload
✎ Editing:
DisallowBooleanStatementUnitTest.inc
← Back
<?php trySomething() || trySomethingElse(); if (trySomething() === FALSE) { trySomethingElse(); } $success || fail(); if ($success === FALSE) { fail(); } $foo = ($bar || $foo); doSomething() || die(); if ($something || somethingElse()) { while ($foo && $bar) { } do { // Code here. } while ($foo && $bar); } ?>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel