On Tue, May 18, 2021 at 1:23 AM Gabriel Caruso <carusogabrie...@gmail.com> wrote:
> On Sun, 16 May 2021, 15:52 Máté Kocsis, <kocsismat...@gmail.com> wrote: > > > As I've fully finished the implementation, I intend to bring this to a > vote > > on Wednesday if no new concerns come up (besides the usual question about > > the usefulness of the feature). > > > > Máté > > > Interesting RFC Maté, thanks for bringing it. > > How would we know if a given constant is overwritable? > > Would we need something like `ReflectionConstant::isOverwritable()`? > Hi Gabriel, see https://wiki.php.net/rfc/final_class_const#reflection > A `ReflectionClassConstant::isFinal()` method is added in order to be able to retrieve if a constant is final. Regards =) -- Guilliam Xavier