From PHP manual: Objects of the same type will have access to each others private and protected members even though they are not the same instances.
And example from the manual: