<?php error_reporting(-1); class A { static $i=1; public function test(){ var_dump(self); } } class B extends A { static $i=2; } B::test();
You have javascript disabled. You will not be able to edit any code.