note 108944 added to language.oop5.constants

From: Date: Thu, 07 Jun 2012 03:21:16 +0000
Subject: note 108944 added to language.oop5.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-188437@lists.php.net to get a copy of this message
It may seem obvious, but class constants are always publicly visible. They cannot be made private or protected. I do not see it state that in the docs anywhere. ---- Server IP: 69.147.83.197 Probable Submitter: 66.61.77.245 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.constants.php Edit -- https://master.php.net/note/edit/108944 Del: integrated -- https://master.php.net/note/delete/108944/integrated Del: useless -- https://master.php.net/note/delete/108944/useless Del: bad code -- https://master.php.net/note/delete/108944/bad+code Del: spam -- https://master.php.net/note/delete/108944/spam Del: non-english -- https://master.php.net/note/delete/108944/non-english Del: in docs -- https://master.php.net/note/delete/108944/in+docs Del: other reasons-- https://master.php.net/note/delete/108944 Reject -- https://master.php.net/note/reject/108944 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188437) next »