Class ----- a = 'bar'; echo 'test'; } protected function baz() {} public function foo() {} abstract static function bar() {} } ----- class Foo { var $a = 'foo'; private $b = 'bar'; static $c = 'baz'; function test() { $this->a = 'bar'; echo 'test'; } protected function baz() { } public function foo() { } static abstract function bar() { } }