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