Elva I am not talking about protected inheritance. I am just talking about visibility of protected members in a parent class of the class that contains the protected members. PHP seems to have this but I don't know of any other language that does.
Roma yes that's right for PHP but is parent accessibility of protected members only a feature of PHP or are there other languages where parent classes have visibility of protected members of a child class?
In c++ there are 3 types of inheritance, and one of them inherits protected as well
Java inherits protected
c++, all 3 types inherit protected, but only in one type they turn into private properties