[RFC] [DISCUSSION]: Class Constant Visibility

php.internals

Sean DuBois

10 years ago
Morning internals! I am starting the discussion around adding visibility modifiers to class constants. Following in the same pattern as properties. https://wiki.php.net/rfc/class_const_visibility There was some great discussion about this before as well http://news.php.net/php.internals/87946 If you are interested in the code itself. The tests for the reflection ext have not been updated yet. Beyond that I am unaware of any work outside of opcache changes (and bugs) ! https://github.com/php/php-src/pull/1494 thanks