3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class C { static function foo() {} } $f = 'C::foo'; $f();
based on tFKAs
Output for 7.0.0 - 7.2.0
Output for 5.5.0 - 5.6.28
Fatal error: Call to undefined function C::foo() in /in/emKdX on line 8
Process exited with code 255.