object(User)#2 (2) { ["name:private"]=> string(5) "Sasha" ["age:protected"]=> int(25) } object(Worker)#1 (3) { ["salary:private"]=> int(3500) ["name:private"]=> string(4) "Egor" ["age:protected"]=> int(34) } 30