note 111317 rejected from language.oop5.visibility by googleguy

From: Date: Tue, 05 Feb 2013 23:34:47 +0000
Subject: note 111317 rejected from language.oop5.visibility by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-193539@lists.php.net to get a copy of this message
Note Submitter: subone at subone dot org ---- It seems the text: "Members declared protected can be accessed only within the class itself and by inherited and parent classes." should read: "Members declared protected can be accessed only within the class itself and by *inheriting* and parent classes." The current wording does not seem to allow for a child class accessing the protected member of the parent class. I've seen some posts around the net suggesting that this is what people are getting from reading this. Also, given that there seems to be some confusion over the word "inherited", perhaps it should be "child", "derived", or "descendant".

« previous php.notes (#193539) next »