Re: [RFC] [VOTE] Class Constant Visibility
| From: | Pascal MARTIN, AFUP | Date: | Mon, 26 Oct 2015 21:20:33 +0000 |
| Subject: | Re: [RFC] [VOTE] Class Constant Visibility | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88949@lists.php.net to get a copy of this message | ||
Le 20/10/2015 19:36, Sean DuBois a écrit :
Time for a simple RFC (in theory)! https://wiki.php.net/rfc/class_const_visibility thanks!Hi, After discussing this RFC with other people at AFUP, we are +1. Basically, being able to define constants inside a class, to represent magic-values or the like without exposing them publicly, would be nice! And a bit more consistency with properties and methods cannot hurt. Thanks for your work on this! -- Pascal MARTIN, AFUP - French UG http://php-internals.afup.org/