3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class ParentClass{ public function overriding(){ var_dump(__METHOD__, true); } } class ChildClass extends ParentClass { public function overriding(){ var_dump(__METHOD__, false); } } $child = new ChildClass(); $child->overriding();
based on GcTnv
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
string(22) "ChildClass::overriding" bool(false)