$b) { $foo->bar($arg1); } else { BazClass::bar($arg2, $arg3); } STATIC::baz(); } static public final function bar() { // method body } } class Aaa implements Bbb, Ccc, Ddd { } $a = new Foo; $b = (boolean) 1; $c = true ? 1 : 2; ?>