<?php error_reporting(-1); class foo { static function bar() {return 1;} function fizz() {return 2;} } $x = new foo; var_dump($x->bar()); var_dump($x->fizz());
You have javascript disabled. You will not be able to edit any code.