'a', 'b' => 'b' ), /* testGroupPrivate 3 */ $varQ = 'string', /* testGroupPrivate 4 */ $varR = 123, /* testGroupPrivate 5 */ $varS = ONE / self::THREE, /* testGroupPrivate 6 */ $varT = [ 'a' => 'a', 'b' => 'b' ], /* testGroupPrivate 7 */ $varU = __DIR__ . "/base"; /* testMethodParam */ public function methodName($param) { /* testImportedGlobal */ global $importedGlobal = true; /* testLocalVariable */ $localVariable = true; } /* testPropertyAfterMethod */ private static $varV = true; /* testMessyNullableType */ public /* comment */ ? //comment array $foo = []; /* testNamespaceType */ public \MyNamespace\MyClass $foo; /* testNullableNamespaceType 1 */ private ?ClassName $nullableClassType; /* testNullableNamespaceType 2 */ protected ?Folder\ClassName $nullableClassType2; /* testMultilineNamespaceType */ public \MyNamespace /** comment *\/ comment */ \MyClass /* comment */ \Foo $foo; } interface Base { /* testInterfaceProperty */ protected $anonymous; } /* testGlobalVariable */ $globalVariable = true; /* testNotAVariable */ return; $a = ( $foo == $bar ? new stdClass() : new class() { /* testNestedProperty 1 */ public $var = true; /* testNestedMethodParam 1 */ public function something($var = false) {} } ); function_call( 'param', new class { /* testNestedProperty 2 */ public $year = 2017; /* testNestedMethodParam 2 */ public function __construct( $open, $post_id ) {} }, 10, 2 );