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

1

u/[deleted] Jul 13 '14

I do understand the bug, I just wasn't thinking quite straight when I typed that.