<?php class A { private $privateProperty = 1; private function privateMethod() {} } class B extends A {} try { echo (string) $method = new ReflectionMethod('B', 'privateMethod'); } catch(Throwable $e){ echo (string) $e; } try { echo (string) new ReflectionProperty('B', 'privateProperty'); } catch(Throwable $e){ echo (string) $e; }
You have javascript disabled. You will not be able to edit any code.
There are `0` results