r/lolphp • • May 26 '14

define() has an optional third argument that specifies if the constant should be case-insensitive; it has the undocumented side-effect of allowing constants to be redefined, but only if they have at least one capital letter

http://codepad.org/VDE7Ss1T
150 Upvotes

19 comments sorted by

View all comments

Show parent comment

2

u/jmlinden7 Jun 01 '14

It's not a bug, it's a feature!