3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); class A { static $i=1; static function F() { echo self::$i; } } class B extends A { static $i=2; } B::F();