3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private static function fooFunc() { return 'hello'; } } var_dump(call_user_func(array('Foo', 'fooFunc')));

preferences:
31.89 ms | 402 KiB | 5 Q