3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class C { public function a() { echo __METHOD__ . "\n"; } public static function b() { echo __METHOD__ . "\n"; } } $a = new C(); $a->b();
based on nqfOe
Output for 5.3.19 - 7.2.0
C::b