note 47211 rejected from language.oop5.constants by betz
| From: | betz@php.net | Date: | Sat, 06 Nov 2004 14:32:01 +0000 |
| Subject: | note 47211 rejected from language.oop5.constants by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80195@lists.php.net to get a copy of this message | ||
Note Submitter: douglass_davis at earthlink dot net
----
The documentation does not say weather consts are automatically public are not, but apparently they
are.
It also does not say whether they are automatically static or not, but I would hope that they are.
Adding either static or public to a const declared object results in a compile time error, and
apparently there is no way to make these private to the class.
I wish the docs would explain this a little more.