PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowBooleanStatementUnitTest.inc

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowBooleanStatementUnitTest.inc   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowBooleanStatementUnitTest.inc
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: Yesterday
Size: 353 bytes
 

Contents

Class file image Download
<?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); } ?>