Beware: Visibility works on a per class basis and does not prevent instances of the same class from accessing each others protected/private properties/members! I consider this a real cop out from an OO perspective and doesn’t offer me any level comfort.
Related posts:
- PHP5 OOP must haves
- PHP5.1.4 Segfault Woes
PHP5 Class Visibility
Beware: Visibility works on a per class basis and does not prevent instances of the same class from accessing each others protected/private properties/members! I consider this a real cop out from an OO perspective and doesn’t offer me any level comfort.
Related posts: