3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A {public static function f() {return get_called_class();}} class B extends A {} print_r(B::f());
based on OM5sD
Output for 5.6.0 - 7.3.0alpha1
B