> > Can I ask why you use late static binding while you don't want your > constant value to be changed/overridden by child classes? IMHO, `self::FOO` > is all you need. >
Personally, I don't use late static binding with class constants since the coding standard rule I previously referenced forbids this, but I don't think a coding style rule should be our only possibility to disallow constant overriding. After learning about the strange behavior Nikita pointed out, final constants would be even more useful than what I initially thought.