3v4l.org

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

preferences:
39.33 ms | 402 KiB | 5 Q