There is no "friend" or package visibility. Sorry.
Yarco wrote:
> In c++ we could modify the private variable in a class use friend
> keyword.
> How could it be done in php?
>
> class YourBag
> {
> int money;
>
> friend class Thief; // friend?
> };
>
Best regards
--
Willem Bogaerts