I want to create a static class in PHP and have it behave like it does in C#, so
object cannot be defined staticly but this works
final Class B{ static $var; static function init(){ self::$var = new A(); } B::init();