PHP: accessing private members of objects of same type

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:

  1. by sobstel • May 2011