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