--TEST-- Handling of private fields with traits needs to have same semantics as with normal inheritance. --FILE-- --EXPECT-- object(SubclassClassicInheritance)#1 (2) { ["hello":"SubclassClassicInheritance":private]=> int(0) ["hello":"BaseWithPropA":private]=> int(0) } object(SubclassA)#2 (2) { ["hello":"SubclassA":private]=> int(0) ["hello":"BaseWithPropA":private]=> int(0) } object(SubclassB)#3 (2) { ["hello":"SubclassB":private]=> int(0) ["hello":"BaseWithTPropB":private]=> int(0) }