PHP Classes

File: vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/PHP/ResolveSimpleTokenTest.inc

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/PHP/ResolveSimpleTokenTest.inc   Download  
File: vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/PHP/ResolveSimpleTokenTest.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: 2 days ago
Size: 746 bytes
 

Contents

Class file image Download
<?php /* testBracesAndColon */ switch ($var[10]) { case TEST_COLON: break; } /* testNamedParamColon */ callMe(name: $var); /* testReturnTypeColon */ $closure = function(): Type {}; /* testConcat */ echo 'text' . $var; /* testSimpleMathTokens */ $a = 10 * 3 / 2 + 5 - 4 % 2; /* testUnaryPlusMinus */ $a = +10 / -1; /* testBitwiseTokens */ $a = CONST_A ^ CONST_B & CONST_C | CONST_D ~ CONST_E; try { /* testBitwiseOrInCatch */ } catch ( Exception_A | Exception_B $e ) { } /* testLessThan */ $a = 10 < $var; /* testGreaterThan */ $a = 10 > $var; /* testBooleanNot */ $a = ! $var; /* testComma */ echo $a, $b, $c; /* testAsperand */ $a = @callMe(); /* testDollarAndCurlies */ echo ${$var}; /* testBacktick */ $a = `ls -e`;