<?php class Weird { public static function test() { var_dump(is_a(isset($this) ? $this : self, __CLASS__)); } } Weird::test(); $w = new Weird; $w->test();
You have javascript disabled. You will not be able to edit any code.