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/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php