Re: [PHP-DEV] Class Friendship in PHP

2015-12-08 Thread xn--franois laupretre-dsb
Hi, - Mail original - > De: "Dustin Wheeler" > friendship protect the original class from unwarranted access. The > common > expression of these properties is something like: "Just because I > grant you > friendship access to me doesn’t automatically grant your kids access > to me, > doe

Re: [PHP-DEV] Class Friendship in PHP

2015-12-08 Thread xn--franois laupretre-dsb
Hi, - Mail original - De: guilhermebla...@gmail.com > My biggest concern about supporting friend classes is the ability to access > non-intentional to be accessed code outside of the original class's > knowledge. This by itself is very dangerous. That's the opposite : the 'friend' keywor