<?php error_reporting(E_ALL | E_STRICT); class Foo { public static function bar() { echo 'bar', PHP_EOL; } public function baz() { echo 'baz', PHP_EOL; } } $foo = new Foo; $foo->bar(); Foo::baz();
You have javascript disabled. You will not be able to edit any code.