<?php class A { private static $var = 'a'; public static function get() { return static::$var; } } class B { private static $var = 'b'; } var_dump(A::get()); var_dump(B::get());
You have javascript disabled. You will not be able to edit any code.