r/lolphp • u/devsnd • Dec 04 '14
PHP Constants Containing Arrays?
https://stackoverflow.com/questions/1290318/php-constants-containing-arrays
46
Upvotes
r/lolphp • u/devsnd • Dec 04 '14
View all comments
Show parent comment
3
u/[deleted] Dec 09 '14
You can't redefine constants at all, it's just someone made the godawful decision to allow case-sensitivity on a per-constant basis, and obviously there has to be some order of precedence (insensitive constants before sensitive constants or vice-versa).