3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { private function a() { } } class B { private function a() { } } $method = new \ReflectionMethod('A', 'a'); var_dump($method->getPrototype());

preferences:
47.81 ms | 402 KiB | 5 Q