--TEST-- GH-9409: Private method is incorrectly dumped as "overwrites" --FILE-- getMethod('privateMethod'); echo (new ReflectionClass('C'))->getMethod('privateMethod'); ?> --EXPECTF-- Method [ private method privateMethod ] { @@ %s %d - %d } Method [ private method privateMethod ] { @@ %s %d - %d }