Re: [PHP-DEV] Class Constant Visibility BC Break

2016-08-21 Thread Dan Ackroyd
Hi Marc On 21 August 2016 at 21:57, Marc Bennewitz wrote: > > So for me this is a BC break So that we're clear about what we're discussing, please can you post some example code that: i) Works in PHP 7.0.x ii) Won't work in PHP 7.1.x cheers Dan -- PHP Internals - PHP

[PHP-DEV] Class Constant Visibility BC Break

2016-08-21 Thread Marc Bennewitz
Hi, I encountered a problem of my library with the new class constant visibility functionality. The problem is that I'm using ReflectionClass::getConstants() to detect class constants but I'm only interested in public constants. Before class constants were public by definition but now it