--TEST-- Reflection Bug #37964 (Reflection shows private methods of parent class) --FILE-- --EXPECTF-- Class [ class bar extends foo ] { @@ %s %s - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [2] { Method [ private method foobar ] { @@ %s %d - %d } Method [ protected method test3 ] { @@ %s %d - %d } } }