PHP Classes

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

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   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: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
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); } ?>