<?php class Foo { public static function bar($a = "lala") { return new static; } } $f = new Foo(); var_dump($f->bar());
You have javascript disabled. You will not be able to edit any code.