3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A { private function p() { echo A::class; } public function e() { $this->p(); } } class B extends A { private function p() { echo B::class; } } (new B)->e();
Output for 5.6.30, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.3.0rc3
A