Re: [PHP-DEV] Revisiting proposal for addition of `get_class_constants()`

2020-06-14 Thread Troy McCabe
ot final, and I can see plenty of use cases for > subclassing it. > > On Thu, Jun 11, 2020 at 10:32 PM Troy McCabe wrote: > > > > Hey Nikita, > > > > Thanks for the thoughts. > > > > > Could you please explain in more detail *why* we should duplicate

Re: [PHP-DEV] Revisiting proposal for addition of `get_class_constants()`

2020-06-11 Thread Troy McCabe
Aaand I sent that too hastily...Specifically for question 2 around `ReflectionConstant`, I just noticed `ReflectionClass::getReflectionConstants()` exists...Scratch that question! Sorry! On Thu, Jun 11, 2020 at 11:31 PM Troy McCabe wrote: > > Hey Nikita, > > Thanks for the thoughts.

Re: [PHP-DEV] Revisiting proposal for addition of `get_class_constants()`

2020-06-11 Thread Troy McCabe
but that then requires additional development lift, instead of using battle-tested enum libs. Thanks for the thoughts, and thank you for all your work on internals! Thanks! Troy McCabe -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Revisiting proposal for addition of `get_class_constants()`

2020-06-09 Thread Troy McCabe
of me for the aforementioned fiddling) Looking forward to your thoughts, Thanks! Troy McCabe